/* brittany-oconnell.com · Linen Knot */
:root {
  --linen: #F5F2EA;
  --paper: #FBF9F3;
  --linen-2: #EFEADF;
  --indigo: #274690;
  --indigo-line: rgba(39, 70, 144, .55);
  --moss: #5B6C5D;
  --char: #26292E;
  --soft: #3B3F45;
  --muted: #6E7076;
  --line: #DCD5C4;
  --line-strong: #C7BEA8;
  --shell: 1080px;
  --display: 'Sorts Mill Goudy', Georgia, 'Times New Roman', serif;
  --body: 'Cabin', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--linen); }
body {
  margin: 0;
  background: var(--linen);
  color: var(--char);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1 0 auto; }
.site-footer { flex: 0 0 auto; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(38, 41, 46, .035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(38, 41, 46, .035) 0 1px, transparent 1px 3px);
}
main, .site-header, .site-footer { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 26px; }

/* knot motif: woven braid on a hairline band */
.knot {
  height: 14px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background-image:
    repeating-linear-gradient(62deg, var(--indigo-line) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-62deg, var(--indigo-line) 0 1px, transparent 1px 9px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.knot-wide { max-width: 420px; margin: 0 auto; }
.knot-mid { max-width: 190px; margin: 0 auto; }

.crest {
  font-family: var(--display);
  font-size: .92rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--indigo);
  margin: 1.1rem 0 0;
}
.seal {
  font-family: var(--display);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--indigo);
  margin: 0 0 .6rem;
  text-align: center;
}
.eyebrow {
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--indigo);
  margin: 0 0 .55rem;
}
h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.62rem, 3.1vw, 2.15rem);
  line-height: 1.15;
  margin: 0 0 .6rem;
}
.section-sub { color: var(--muted); max-width: 58ch; margin: 0 auto; }
.note { color: var(--muted); font-size: .88rem; margin: 1.1rem 0 0; }

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 242, 234, .95);
  border-bottom: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: .78rem 26px;
  flex-wrap: wrap;
}
.wordmark {
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav { display: flex; align-items: center; gap: 1.05rem; flex-wrap: wrap; }
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover { color: var(--char); }
.main-nav a[aria-current="page"] { color: var(--indigo); border-bottom-color: var(--indigo); }

/* seal button: indigo lines only */
.btn {
  position: relative;
  display: inline-block;
  border: 1px solid var(--indigo);
  color: var(--indigo);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .78rem 1.4rem;
  background: transparent;
  transition: background .18s ease, color .18s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(39, 70, 144, .35);
  pointer-events: none;
}
.btn:hover { background: rgba(39, 70, 144, .07); }
.btn-sm { padding: .5rem 1rem; font-size: .68rem; letter-spacing: .16em; }
.btn-sm::after { inset: 3px; }

/* hero */
.hero { padding: 2.5rem 0 2.1rem; text-align: center; }
.hero-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.4vw, 3.7rem);
  line-height: 1.02;
  margin: .35rem 0 .75rem;
}
.hero-role { color: var(--muted); font-size: 1.03rem; max-width: 54ch; margin: 0 auto 2rem; }
.hero-plate { position: relative; display: flex; justify-content: center; margin: 0 0 1.9rem; }
.hero-plate::before, .hero-plate::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  background: var(--line-strong);
  width: calc(50% - 190px);
}
.hero-plate::before { left: 0; }
.hero-plate::after { right: 0; }
.hero-intro { max-width: 60ch; margin: 0 auto 1.9rem; color: var(--soft); }
.hero-cta { margin: 0; }

/* photo cards: linen plate, double hairline */
.photo-card {
  position: relative;
  margin: 0;
  padding: 15px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  box-shadow: 0 22px 44px -34px rgba(38, 41, 46, .55);
}
.photo-card::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.photo-card img { display: block; width: 246px; }

/* sections */
.section { padding: 3.1rem 0; }
.section-tight { padding-top: 1.5rem; }
.section-last { padding-bottom: 4rem; }
.section-head { text-align: center; margin: 0 0 2.1rem; }
.section-head .knot { margin-bottom: 1.15rem; }
.section-head .section-sub { margin-top: .2rem; }

/* partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 250px));
  gap: 18px;
  justify-content: center;
}
.partner-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 250px;
  height: 150px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  background-image:
    linear-gradient(var(--line-strong), var(--line-strong)), linear-gradient(var(--line-strong), var(--line-strong)),
    linear-gradient(var(--line-strong), var(--line-strong)), linear-gradient(var(--line-strong), var(--line-strong)),
    linear-gradient(var(--line-strong), var(--line-strong)), linear-gradient(var(--line-strong), var(--line-strong)),
    linear-gradient(var(--line-strong), var(--line-strong)), linear-gradient(var(--line-strong), var(--line-strong));
  background-repeat: no-repeat;
  background-size: 16px 1px, 1px 16px, 16px 1px, 1px 16px, 16px 1px, 1px 16px, 16px 1px, 1px 16px;
  background-position: 6px 6px, 6px 6px, calc(100% - 6px) 6px, calc(100% - 6px) 6px,
                       6px calc(100% - 6px), 6px calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) calc(100% - 6px);
  transition: box-shadow .2s ease, transform .2s ease;
}
.partner-card:hover { box-shadow: 0 18px 34px -28px rgba(38, 41, 46, .6); transform: translateY(-2px); }
.partner-card img { max-width: 196px; max-height: 70px; width: auto; height: auto; object-fit: contain; }

/* quick profile certificate */
.certificate {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 1.9rem 2.4rem 1.7rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
}
.certificate::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.fact-list { margin: 1.1rem 0 0; }
.fact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 1.5rem;
  align-items: baseline;
  padding: .72rem .2rem;
  border-top: 1px solid var(--line);
}
.fact-row dt {
  margin: 0;
  text-align: right;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--indigo);
}
.fact-row dd { margin: 0; }

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 232px 1fr;
  gap: 2.3rem;
  align-items: start;
}
.about-col p { margin: 0 0 1.05rem; color: var(--soft); }
.about-col p:last-child { margin-bottom: 0; }
.about-plate { display: flex; justify-content: center; }
.quote {
  max-width: 46ch;
  margin: 2.4rem auto 0;
  text-align: center;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}
.quote p {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.45;
  margin: 0 0 .6rem;
}
.quote cite {
  font-style: normal;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* era list: narrow centre column, year annotations left / right */
.era-wrap { max-width: 700px; margin: 0 auto; }
.era-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: .3rem 0;
}
.era-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line-strong);
}
.era {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: start;
  padding: .62rem 0;
}
.era-year {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--indigo);
  line-height: 1.4;
}
.era-text { color: var(--soft); }
.era-node {
  position: relative;
  width: 9px;
  height: 9px;
  margin: .55rem auto 0;
  background: var(--linen);
  border: 1px solid var(--indigo);
  transform: rotate(45deg);
}
.era-a .era-year { grid-column: 1; text-align: right; padding-right: 22px; }
.era-a .era-node { grid-column: 2; grid-row: 1; }
.era-a .era-text { grid-column: 3; padding-left: 22px; }
.era-b .era-year { grid-column: 3; text-align: left; padding-left: 22px; }
.era-b .era-node { grid-column: 2; grid-row: 1; }
.era-b .era-text { grid-column: 1; grid-row: 1; text-align: right; padding-right: 22px; }

/* gallery: three arch plates */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 560px;
  margin: 0 auto;
}
.g-plate {
  margin: 0;
  padding: 11px 11px 13px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
}
.arch {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px 999px 0 0;
  aspect-ratio: 4 / 5;
  background: var(--linen-2);
}
.arch img { display: block; width: 100%; height: 100%; object-fit: cover; }
.g1 img { object-position: 50% 14%; }
.g2 img { object-position: 50% 18%; }
.g3 img { object-position: 50% 24%; }

/* social */
.social-list { max-width: 560px; margin: 0 auto; }
.social-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .9rem;
  padding: 1.05rem .4rem;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: background .2s ease;
}
.social-row:last-child { border-bottom: 1px solid var(--line); }
.social-row .platform { font-family: var(--display); font-size: 1.2rem; }
.social-row .handle { color: var(--muted); font-size: .92rem; letter-spacing: .05em; }
.social-row:hover { background: rgba(39, 70, 144, .05); }

/* subpages */
.page-head { text-align: center; padding: 2.4rem 0 1.6rem; }
.page-head .knot { margin-bottom: 1.2rem; }
.page-head h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  line-height: 1.06;
  margin: .1rem 0 .7rem;
}
.page-head .lead { color: var(--muted); max-width: 62ch; margin: 0 auto; }
.reading { max-width: 740px; margin: 0 auto; padding-bottom: 1rem; }
.story { margin: 0 0 2.6rem; }
.story h2 {
  position: relative;
  font-size: clamp(1.28rem, 2.4vw, 1.6rem);
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  margin-bottom: .9rem;
}
.story h2::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--moss);
  transform: rotate(45deg);
}
.story p { color: var(--soft); margin: 0 0 1rem; }
.tick-list { list-style: none; margin: .8rem 0 0; padding: 0; }
.tick-list li {
  position: relative;
  padding: .55rem 0 .55rem 1.35rem;
  border-bottom: 1px dashed var(--line);
  color: var(--soft);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.05em;
  width: 6px;
  height: 6px;
  border: 1px solid var(--indigo);
  transform: rotate(45deg);
}
.credit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.9rem;
  margin-top: 1.1rem;
}
.credit-col h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.06rem;
  margin: 0 0 .35rem;
}
.credit-note { color: var(--muted); font-size: .84rem; margin: 0 0 .4rem; }
.credit-col .tick-list li { font-size: .93rem; }
.stat-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1rem; }
.stat {
  flex: 1 1 150px;
  padding: .85rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
}
.stat b { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--indigo); line-height: 1.2; }
.stat span { color: var(--muted); font-size: .84rem; }
.faq-list details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.2rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border: 1px solid var(--indigo);
  transform: rotate(45deg);
  transition: background .18s ease;
}
.faq-item[open] summary::after { background: var(--indigo); }
.faq-item .answer p { color: var(--soft); margin: .75rem 0 0; max-width: 68ch; }

/* footer */
.site-footer {
  border-top: 1px solid var(--line-strong);
  background: #F0ECE1;
  padding: 1.9rem 0 2.1rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
}
.footer-brand { display: flex; flex-direction: column; }
.brand-name { font-family: var(--display); font-size: 1.05rem; letter-spacing: .04em; }
.brand-line { color: var(--muted); font-size: .84rem; max-width: 36ch; }
.language-nav { display: flex; flex-wrap: wrap; gap: .2rem .8rem; justify-content: center; }
.language-nav a { color: var(--muted); text-decoration: none; font-size: .8rem; white-space: nowrap; }
.language-nav a:hover { color: var(--char); }
.language-nav a[aria-current="page"] { color: var(--indigo); }
.footer-legal { color: var(--muted); font-size: .84rem; margin: 0; text-align: right; max-width: 34ch; }

/* 404 */
.notfound { padding: 4.2rem 0 5rem; text-align: center; }
.notfound h1 { font-family: var(--display); font-size: clamp(2rem, 5vw, 3rem); margin: .6rem 0 .8rem; }
.notfound .lead { color: var(--muted); max-width: 52ch; margin: 0 auto 1.6rem; }
.textlink {
  color: var(--indigo);
  text-decoration: none;
  border-bottom: 1px solid var(--indigo);
  padding-bottom: 2px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

@media (max-width: 1020px) {
  .about-grid { grid-template-columns: 1fr; gap: 1.7rem; }
  .about-plate { order: -1; justify-content: flex-start; }
  .hero-plate::before, .hero-plate::after { display: none; }
  .credit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; gap: .8rem; }
  .language-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .5rem 1rem; }
  .main-nav { gap: .55rem .85rem; }
  .main-nav a { font-size: .7rem; letter-spacing: .12em; }
  .hero { padding-top: 1.9rem; }
  .photo-card img { width: 208px; }
  .certificate { padding: 1.5rem 1.15rem; }
  .fact-row { grid-template-columns: 1fr; gap: .2rem; }
  .fact-row dt { text-align: left; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner-card { width: auto; height: 118px; }
  .partner-card img { max-width: 132px; max-height: 48px; }
  .gallery { gap: 12px; }
  .g-plate { padding: 8px 8px 10px; }
  .era-list::before { display: none; }
  .era { grid-template-columns: 1fr; padding: .5rem 0; border-top: 1px dashed var(--line); }
  .era-a .era-year, .era-b .era-year,
  .era-a .era-text, .era-b .era-text { grid-column: 1; text-align: left; padding: 0; }
  .era-node { display: none; }
  .era-a .era-year, .era-b .era-year { font-size: 1rem; }
  .section { padding: 2.3rem 0; }
  .stat { flex: 1 1 120px; }
}
