/* devonmichaelsweb.com · Portolan Chart
   paper #ece3d0 · ink #21323c · muted #6b6252 · ochre #8d3b2e · rule #b9ab90 · sea #cdd6cf */

:root {
  --paper: #ece3d0;
  --paper-bright: #f4eedf;
  --ink: #21323c;
  --muted: #6b6252;
  --accent: #8d3b2e;
  --accent-dark: #6e2b20;
  --rule: #b9ab90;
  --sea: #cdd6cf;
  --shell: 1180px;
  --display: 'GFS Didot', 'Times New Roman', Georgia, serif;
  --body: 'Arsenal', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
p { margin: 0 0 1.05em; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- header */
.site-header { border-bottom: 1px solid var(--ink); }
.header-inner {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.4rem; padding-top: 1.1rem; padding-bottom: .95rem; flex-wrap: wrap;
}
.wordmark {
  font-family: var(--display); font-size: 1.42rem; line-height: 1;
  letter-spacing: .015em; text-decoration: none; color: var(--ink); white-space: nowrap;
}
.main-nav { display: flex; align-items: center; gap: 1.35rem; flex-wrap: wrap; }
.main-nav a {
  color: var(--muted); text-decoration: none; font-size: .78rem;
  letter-spacing: .11em; text-transform: uppercase; padding: .2rem 0 .3rem;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--ink); border-bottom-color: var(--accent); }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--paper-bright);
  font-family: var(--body); font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  padding: .78rem 1.2rem; border: 1px solid var(--accent); border-radius: 0;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover, .btn:focus-visible { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--paper-bright); }
.main-nav a.btn { color: var(--paper-bright); background: var(--accent); border-bottom-color: var(--accent); }
.main-nav a.btn:hover, .main-nav a.btn:focus-visible {
  color: var(--paper-bright); background: var(--accent-dark); border-bottom-color: var(--accent-dark);
}
.btn-sm { padding: .5rem .9rem; font-size: .72rem; letter-spacing: .09em; }

/* ------------------------------------------------------------------ hero */
.hero { padding: 2.6rem 0 2.9rem; }
.hero-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px; align-items: center;
}
.plate-wrap { grid-column: 1 / span 5; grid-row: 1; position: relative; z-index: 1; }
.plate-wrap::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  background: var(--sea); opacity: .12; z-index: -1;
}
.plate {
  width: 416px; max-width: 100%; padding: 6px; border: 1px solid var(--ink);
  background: var(--paper);
}
.plate-frame { border: 1px solid var(--rule); }
.plate img { display: block; width: 100%; height: auto; }
.plate-label {
  position: absolute; top: -1.15rem; left: 0;
  font-size: .62rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted); margin: 0;
}
.rhumb { grid-column: 6; grid-row: 1; justify-self: end; align-self: center;
         width: 150px; height: 528px; z-index: 0; }
.rhumb svg { display: block; width: 100%; height: 100%; }
.compass { grid-column: 6; grid-row: 1; justify-self: center; align-self: center;
           width: 96px; height: 96px; z-index: 3; }
.compass svg { display: block; width: 100%; height: 100%; }
.hero-text { grid-column: 7 / span 6; grid-row: 1; max-width: 430px; }
.hero-kicker {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1.1rem;
}
.hero-title {
  font-size: clamp(3.2rem, 5.1vw, 4.5rem); line-height: .98; margin: 0 0 1.35rem;
  letter-spacing: -.01em;
}
.hero-title span { display: block; }
.hero-lead { max-width: 34ch; color: var(--ink); margin: 0 0 1.5rem; font-size: 1.06rem; }
.hero-lead .quiet { color: var(--muted); }

/* -------------------------------------------------------------- sections */
.section { padding: 3.1rem 0; }
.section + .section { border-top: 1px solid var(--rule); }
.sec-head { display: flex; align-items: baseline; gap: 1.2rem; margin-bottom: 1.5rem; }
.sec-head h2 { font-size: 1.72rem; line-height: 1.12; margin: 0; white-space: nowrap; }
.sec-head .rule { flex: 1 1 auto; height: 1px; background: var(--rule); }
.eyebrow {
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 .55rem;
}
.eyebrow b { color: var(--accent); font-weight: 700; }
.section-sub { color: var(--muted); max-width: 60ch; margin: -.55rem 0 1.6rem; }
.section-lead { max-width: 64ch; margin: 0 0 1.6rem; }

/* ------------------------------------------------------------- partners */
.partner-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.partner-cell { padding: 1.15rem 1.4rem 1.35rem; border-right: 1px solid var(--rule); }
.partner-cell:nth-child(3n) { border-right: 0; }
.partner-cell:nth-child(n+4) { border-top: 1px solid var(--rule); }
.partner-flag { display: flex; align-items: center; gap: .5rem; margin-bottom: .65rem; }
.partner-flag .pennant {
  width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  border-left: 8px solid var(--accent);
}
.partner-flag .num { font-size: .64rem; letter-spacing: .16em; color: var(--muted); }
.partner-card {
  display: flex; align-items: center; justify-content: center;
  width: 250px; max-width: 100%; height: 150px;
  border: 1px solid var(--ink); background: var(--paper-bright);
  transition: border-color .18s ease, background .18s ease;
}
.partner-card:hover, .partner-card:focus-visible { border-color: var(--accent); background: #f8f2e5; }
.partner-card img { max-width: 190px; max-height: 84px; width: auto; height: auto; object-fit: contain; }

/* ---------------------------------------------------------- quick profile */
.ledger { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ledger-row {
  display: grid; grid-template-columns: 200px minmax(0, 1fr);
  gap: 1rem; padding: .72rem 0; border-bottom: 1px dotted var(--rule);
}
.ledger-row:last-child { border-bottom: 0; }
.ledger .k {
  font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: .25em;
}
.ledger .v { font-size: 1rem; }
.fact-tags { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; margin-top: 1.2rem; }
.fact-tag { display: flex; align-items: baseline; gap: .5rem; }
.fact-tag .sq { width: 6px; height: 6px; background: var(--accent); align-self: center; }
.fact-tag .k { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fact-tag .v { font-size: .92rem; }

/* ----------------------------------------------------------------- about */
.about-grid {
  display: grid; grid-template-columns: 42% minmax(0, 1fr) 120px;
  gap: 1.4rem; align-items: start;
}
.about-figure { margin: 0; }
.about-figure .frame { border: 1px solid var(--rule); padding: 5px; background: var(--paper); }
.about-figure img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 12% 28%; }
.about-text p { max-width: 62ch; }
.about-text p:first-of-type::first-letter {
  font-family: var(--display); font-size: 5em; line-height: 1;
  float: left; padding: .04em .1em 0 0; color: var(--accent);
}
.about-notes { border-left: 1px solid var(--rule); padding-left: .9rem; }
.about-notes .note { margin: 0 0 1.15rem; }
.about-notes .note:last-child { margin-bottom: 0; }
.about-notes .sq { display: block; width: 6px; height: 6px; background: var(--accent); margin-bottom: .4rem; }
.about-notes .txt { font-size: .74rem; line-height: 1.45; color: var(--muted); letter-spacing: .02em; }

/* --------------------------------------------------------- career rhumb */
.rhumbline { position: relative; height: 158px; margin: 2.6rem 0 1.2rem; }
.rhumbline .baseline { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); }
.rhumbline .endtick { position: absolute; top: calc(50% - 6px); width: 1px; height: 12px; background: var(--ink); }
.rhumbline .endtick.left { left: 0; }
.rhumbline .endtick.right { right: 0; }
.stops { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); height: 100%; }
.stop { position: relative; }
.stop .dot {
  position: absolute; left: 50%; top: 50%; margin: -4px 0 0 -4px;
  width: 7px; height: 7px; border: 1px solid var(--accent); border-radius: 50%;
  background: var(--paper); z-index: 2;
}
.stop .lbl { position: absolute; left: 50%; transform: translateX(-50%); width: 158px; text-align: center; }
.stop.up .lbl { bottom: calc(50% + 20px); }
.stop.down .lbl { top: calc(50% + 20px); }
.stop .when { display: block; font-family: var(--display); font-size: .95rem; letter-spacing: .06em; color: var(--accent); }
.stop .what { display: block; font-size: .78rem; line-height: 1.38; color: var(--ink); margin-top: .15rem; }

/* --------------------------------------------------------------- gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery figure { margin: 0; border: 1px solid var(--rule); padding: 4px; background: var(--paper); }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.g1 { grid-column: 1; grid-row: 1; }
.g2 { grid-column: 2; grid-row: 1; }
.g3 { grid-column: 3; grid-row: 1; }
.g4 { grid-column: 2; grid-row: 2; }
.g5 { grid-column: 3; grid-row: 2; }
.g1 img { object-position: 50% 18%; }
.g2 img { object-position: 22% 24%; }
.g3 img { object-position: 74% 26%; }
.g4 img { object-position: 76% 44%; }
.g5 img { object-position: 88% 30%; }
.scale-cell { grid-column: 1; grid-row: 2; display: flex; align-items: flex-end; padding-bottom: .6rem; }
.scale-cell svg { width: 100%; max-width: 240px; height: auto; display: block; }

.credit-line {
  margin: 1.6rem 0 0; padding-top: .9rem; border-top: 1px solid var(--rule);
  font-size: .72rem; line-height: 1.55; color: var(--muted);
}
.credit-line a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.credit-line a:hover { color: var(--accent-dark); }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--ink); padding: 1.7rem 0 2.1rem; }
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 1.2rem 2rem; align-items: center;
}
.footer-brand .brand-name { font-family: var(--display); font-size: 1.05rem; display: block; }
.footer-brand .brand-line { font-size: .78rem; color: var(--muted); }
.language-nav { display: flex; flex-wrap: wrap; gap: .15rem .05rem; justify-content: center; align-items: baseline; }
.language-nav a { color: var(--muted); text-decoration: none; font-size: .76rem; letter-spacing: .05em; padding: 0 .18rem; }
.language-nav a:hover { color: var(--ink); }
.language-nav a[aria-current="page"] { color: var(--accent); }
.language-nav .sep { color: var(--rule); font-size: .76rem; }
.footer-legal { margin: 0; text-align: right; font-size: .76rem; color: var(--muted); white-space: nowrap; }

/* -------------------------------------------------------------- subpages */
.page-top { padding: 2.8rem 0 1.9rem; border-bottom: 1px solid var(--ink); }
.page-top .eyebrow { margin-bottom: .8rem; }
.page-top h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.04; margin: 0 0 1rem; max-width: 20ch; }
.page-top .lead { max-width: 58ch; color: var(--muted); font-size: 1.05rem; margin: 0; }
.reading { max-width: 68ch; }
.story { padding: 1.7rem 0 0; margin: 0 0 2.1rem; border-top: 1px solid var(--rule); }
.story:first-child { border-top: 0; padding-top: 0; }
.story h2 { font-size: 1.45rem; line-height: 1.15; margin: 0 0 .8rem; }
.story h2 .idx { color: var(--accent); font-family: var(--body); font-size: .7rem; letter-spacing: .14em; margin-right: .6rem; vertical-align: .3em; }
.story p { max-width: 64ch; }
.story .quote { font-family: var(--display); font-size: 1.3rem; line-height: 1.45; color: var(--accent); border-left: 2px solid var(--accent); padding-left: 1rem; margin: 1.2rem 0; }

.vlog { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.vlog li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 1.2rem; padding: .85rem 0; border-top: 1px dotted var(--rule); }
.vlog li:first-child { border-top: 0; }
.vlog .when { font-family: var(--display); font-size: 1rem; color: var(--accent); letter-spacing: .04em; }
.vlog .what { position: relative; padding-left: 1.1rem; font-size: .94rem; }
.vlog .what::before {
  content: ""; position: absolute; left: 0; top: .58em; width: 7px; height: 7px;
  border: 1px solid var(--accent); border-radius: 50%; background: var(--paper);
}
.studio-list { display: flex; flex-wrap: wrap; gap: .45rem .6rem; list-style: none; margin: 1.1rem 0 0; padding: 0; }
.studio-list li { border: 1px solid var(--rule); padding: .28rem .55rem; font-size: .78rem; letter-spacing: .03em; }
.award-list { margin: 1rem 0 0; padding-left: 1.1rem; }
.award-list li { margin-bottom: .7rem; max-width: 64ch; }
.note { font-size: .8rem; line-height: 1.55; color: var(--muted); max-width: 66ch; margin: 1.1rem 0 0; }

.credit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; margin: 1.3rem 0 0; }
.credit-col { border-top: 1px solid var(--ink); padding-top: .7rem; }
.credit-col h3 { font-family: var(--body); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .55rem; }
.credit-col ul { list-style: none; margin: 0; padding: 0; }
.credit-col li { font-size: .9rem; padding: .25rem 0; border-bottom: 1px dotted var(--rule); }

.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--rule); padding: 1rem 0; }
.faq-list summary {
  display: flex; justify-content: space-between; gap: 1rem; cursor: pointer;
  font-family: var(--display); font-size: 1.12rem; line-height: 1.35; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-family: var(--body); font-size: 1.1rem; line-height: 1; }
.faq-list details[open] summary::after { content: "·"; }
.faq-list .answer p { margin: .75rem 0 0; max-width: 66ch; color: var(--ink); }

/* ------------------------------------------------------------------- 404 */
.notfound { padding: 4.2rem 0 5rem; }
.notfound .code { font-family: var(--display); font-size: clamp(4rem, 12vw, 8rem); line-height: .85; color: var(--accent); margin: 0 0 1rem; }
.notfound h1 { font-size: 2rem; margin: 0 0 .8rem; }
.notfound p { max-width: 48ch; color: var(--muted); }
.notfound .back { display: inline-block; margin-top: 1rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .hero { padding-top: 2rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem; }
  .plate-wrap, .compass, .hero-text, .rhumb { grid-column: 1; grid-row: auto; }
  .plate-wrap { max-width: 416px; }
  .rhumb { display: none; }
  .compass { width: 56px; height: 56px; margin: 0 0 0 420px; }
  .hero-text { max-width: 62ch; }
  .hero-title { font-size: clamp(3rem, 9vw, 4rem); }
  .about-grid { grid-template-columns: 1fr 120px; }
  .about-figure { grid-column: 1 / -1; max-width: 420px; }
  .rhumbline { height: 210px; }
  .stop .lbl { width: 120px; }
  .stop .what { font-size: .72rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 860px) {
  .rhumbline { height: auto; margin: 1.6rem 0 0; padding-left: 1.1rem; }
  .rhumbline .baseline { left: 0; top: 0; bottom: 0; width: 1px; height: auto; }
  .rhumbline .endtick { display: none; }
  .stops { grid-template-columns: minmax(0, 1fr); height: auto; }
  .stop { padding: .6rem 0 .6rem 1.2rem; }
  .stop .dot { left: 0; top: 1.15rem; margin: 0 0 0 -4px; }
  .stop .lbl, .stop.up .lbl, .stop.down .lbl {
    position: static; transform: none; width: auto; text-align: left; margin: 0;
  }
  .stop .when { display: inline; margin-right: .5rem; }
  .stop .what { display: inline; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .shell, .header-inner { padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: .7rem; align-items: center; }
  .wordmark { font-size: 1.25rem; }
  .main-nav { width: 100%; gap: .55rem .95rem; }
  .main-nav a { font-size: .72rem; }
  .main-nav a.btn { margin-left: auto; }
  .hero { padding-top: 1.5rem; }
  .plate-wrap { max-width: 416px; }
  .plate { width: 100%; max-width: 416px; }
  .plate img { height: 52vh; min-height: 340px; max-height: 588px; object-fit: cover; object-position: 50% 18%; }
  .compass { display: block; width: 56px; height: 56px; margin: 0; justify-self: start; }
  .hero-title { font-size: 2.9rem; }
  .hero-lead { max-width: 38ch; }
  .section { padding: 2.2rem 0; }
  .sec-head { gap: .8rem; }
  .sec-head h2 { font-size: 1.35rem; white-space: normal; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-cell { padding: .9rem .7rem 1.1rem; }
  .partner-cell:nth-child(3n) { border-right: 1px solid var(--rule); }
  .partner-cell:nth-child(2n) { border-right: 0; }
  .partner-cell:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .partner-card { height: 110px; }
  .partner-card img { max-width: 138px; max-height: 62px; }
  .ledger-row { grid-template-columns: minmax(0, 1fr); gap: .1rem; padding: .6rem 0; }
  .ledger .k { padding-top: 0; }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-figure { max-width: 100%; }
  .about-notes { border-left: 0; border-top: 1px solid var(--rule); padding: 1rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
  .about-notes .note { margin: 0; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .g1, .g2, .g3, .g4, .g5, .scale-cell { grid-column: 1; grid-row: auto; }
  .scale-cell { display: none; }
  .credit-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .language-nav { justify-content: flex-start; }
  .footer-legal { grid-column: auto; white-space: normal; }
  .vlog li { grid-template-columns: 72px minmax(0, 1fr); gap: .8rem; }
}
