:root {
  color-scheme: light;
  --plum: #302d36;
  --paper: #f5f2ee;
  --lavender: #d2c9d8;
  --gray: #68636e;
  --neutral: #e8e3de;
  --white: #ffffff;
  --brand: #99483b;
  --tv: #344d60;
  --digital: #58566a;
  --content: 1100px;
  --section-space: clamp(3.5rem, 6vw, 5.25rem);
  --hero-image: url("assets/images/control-room.jpg");
  --experience-image: url("assets/images/easter-island.jpg");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--plum); background: var(--paper); font: 400 1rem/1.65 Inter, "Helvetica Neue", Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
button { font: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 30; top: -5rem; left: 1rem; padding: .5rem 1rem; background: var(--white); color: var(--plum); }
.skip-link:focus { top: 1rem; }
.section { scroll-margin-top: 1rem; }
.section-inner { width: min(calc(100% - 3rem), var(--content)); margin-inline: auto; }
.section-heading { margin: 0 0 1.5rem; font-size: clamp(1.6rem, 2.3vw, 2.1rem); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; }

/* Shared navigation */
.site-header { position: relative; z-index: 10; background: var(--plum); color: var(--paper); }
.nav-wrap { min-height: 76px; max-width: 1500px; margin-inline: auto; padding: 0 clamp(1.5rem, 4vw, 4rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { color: var(--paper); font-size: 1.02rem; font-weight: 700; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--lavender); }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav-links a { color: var(--lavender); font-size: .84rem; font-weight: 500; text-decoration: none; transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--lavender); text-underline-offset: .5rem; }
.menu-toggle { display: none; }

/* Photographic hero and introduction */
.hero { position: relative; min-height: clamp(420px, 34vw, 500px); display: grid; align-items: center; background: var(--hero-image) center 47% / cover no-repeat; color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(33, 29, 39, .70); }
.hero-content { position: relative; padding-block: 3rem; }
.eyebrow { margin: 0 0 .8rem; color: var(--paper); font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 600; line-height: 1.35; }
.eyebrow .role-separator { padding: 0 .35rem; }
.eyebrow .role-third { white-space: nowrap; }
h1 { margin: 0; font-size: clamp(2.7rem, 4.2vw, 3.7rem); font-weight: 600; line-height: 1.1; letter-spacing: .025em; text-transform: uppercase; }

.about { padding: var(--section-space) 0; background: var(--paper); }
.intro-composition { display: grid; grid-template-columns: minmax(240px, 330px) minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 6vw, 5rem); }
.intro-portrait { width: 100%; height: 330px; aspect-ratio: 1; border-radius: 6px; object-fit: cover; object-position: center; }
.about-copy .section-heading { margin-bottom: 1rem; }
.about-copy p { margin: 0; font-size: clamp(1.05rem, 1.3vw, 1.17rem); line-height: 1.7; }
.about-copy p + p { margin-top: 1rem; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 1.5rem; }
.about-actions a { display: inline-block; padding: .7rem 1rem; border: 1px solid var(--gray); border-radius: 6px; background: transparent; color: var(--plum); font-weight: 600; text-decoration: none; }
.about-actions a:hover { background: var(--neutral); border-color: var(--plum); }

/* Experience */
.experience-photo { position: relative; padding: var(--section-space) 0; background: var(--experience-image) center / cover no-repeat; color: var(--white); }
.experience-photo::before { content: ""; position: absolute; inset: 0; background: rgba(33, 29, 39, .83); }
.experience-photo .section-inner { position: relative; }
.experience-photo .section-heading { margin-bottom: 2.2rem; }
.experience-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; max-width: 50rem; }
.experience-block { border-top: 1px solid rgba(255,255,255,.35); padding-top: 1.2rem; }
.experience-block ul { margin: 0; padding-left: 1.3rem; }
.experience-block li { margin-bottom: 1rem; padding-left: .15rem; }
.experience-block li::marker { color: var(--lavender); }
cite { font-style: italic; }

/* Contact and footer */
.contact { padding: var(--section-space) 0; background: var(--plum); color: var(--paper); }
.contact-inner { max-width: 1160px; }
.contact p { margin: 0 0 .9rem; }
.contact p strong { font-weight: 600; }
.contact p a { color: var(--white); }
.site-footer { padding: 1.4rem 0 1.8rem; background: var(--plum); color: var(--lavender); border-top: 1px solid rgba(255,255,255,.18); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.site-footer p { max-width: 620px; margin: 0; font-size: .75rem; line-height: 1.6; text-align: right; }

/* Portfolio within the homepage */
.portfolio-section { padding: var(--section-space) 0 0; background: var(--plum); color: var(--paper); }
.portfolio-section .section-heading { margin-bottom: 1.8rem; color: var(--paper); }
.portfolio-stack { padding-bottom: var(--section-space); }
.accordion { margin-bottom: 10px; border-radius: 10px; color: var(--white); scroll-margin-top: 1.5rem; overflow: hidden; }
.category-tv { background: var(--tv); }
.category-brand { background: var(--brand); }
.category-digital { background: var(--digital); }
.accordion h2 { margin: 0; font: inherit; }
.accordion-trigger { width: 100%; min-height: 78px; padding: 1.15rem clamp(1.4rem, 3vw, 2.4rem); display: flex; align-items: center; gap: .85rem; border: 0; background: none; color: var(--white); text-align: left; cursor: pointer; }
.accordion-trigger:hover { background: rgba(255,255,255,.07); }
.accordion-trigger:focus-visible { outline: 3px solid var(--white); outline-offset: -6px; }
.category-title { font-size: clamp(1.35rem, 2.15vw, 1.85rem); font-weight: 600; line-height: 1.2; letter-spacing: -.035em; }
.category-label { font-size: clamp(1.2rem, 1.65vw, 1.45rem); font-style: italic; font-weight: 400; line-height: 1.3; }
.accordion-symbol { position: relative; width: 20px; height: 20px; flex: 0 0 20px; margin-left: auto; }
.accordion-symbol::before, .accordion-symbol::after { content: ""; position: absolute; top: 9px; left: 1px; width: 18px; height: 2px; background: currentColor; }
.accordion-symbol::after { transform: rotate(90deg); transition: transform .2s ease; }
.accordion.is-open .accordion-symbol::after { transform: rotate(0); }
.accordion-content { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .28s ease, opacity .2s ease, visibility 0s linear .28s; }
.accordion.is-open .accordion-content { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows .28s ease, opacity .2s ease, visibility 0s; }
.accordion-inner { min-height: 0; overflow: hidden; }
.accordion-body { max-width: 50rem; margin: 0 clamp(1.4rem, 3vw, 2.4rem); padding: .2rem 0 2.4rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; }
.portfolio-area { border-top: 1px solid rgba(255,255,255,.33); padding-top: 1.2rem; min-width: 0; }
.portfolio-area h3 { margin: 0 0 .85rem; color: var(--white); font-size: .95rem; font-weight: 700; line-height: 1.3; letter-spacing: .13em; text-transform: uppercase; }
.portfolio-area p { margin: 0 0 1rem; }
.portfolio-area p:last-child { margin-bottom: 0; }
.work-list { margin: 0; padding: 0; list-style: none; }
.work-list li { padding: .75rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.work-list li:first-child { border-top: 0; padding-top: 0; }
.work-list li:last-child { padding-bottom: .35rem; }
.sample h4 { margin: 0 0 .45rem; font-size: 1.08rem; font-weight: 650; line-height: 1.4; }
.sample p { margin: 0 0 .55rem; }
.sample .sample-contribution { color: var(--white); font-size: .94rem; }
.sample-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.1rem; margin-top: .75rem; font-size: .86rem; }
.sample-links .pending-label, .sample-links .play-inline, .sample > .play-inline { margin-left: 0; }
.sample-links .pending-label { font-size: .86rem; }
.work-entry { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .65rem; row-gap: .15rem; }
.work-icon { width: 1rem; flex: 0 0 1rem; font-size: .8rem; text-align: center; }
.work-entry > a, .work-entry > span:nth-child(2) { flex: 1 1 165px; font-weight: 600; line-height: 1.45; }
.work-entry > a:hover { text-decoration-thickness: 2px; }
.work-subitems { margin: .4rem 0 0 1.65rem; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .85rem; row-gap: .25rem; font-size: .86rem; }
.pending-label { margin-left: 1.65rem; font-size: .72rem; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.work-subitems .play-inline { margin-left: 0; }
.play-inline { margin-left: 1.65rem; padding: 0; border: 0; background: none; color: var(--white); font-size: .78rem; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; white-space: nowrap; }
.play-inline:hover { text-decoration-thickness: 2px; }
.inline-player:not(:empty) { margin-top: 1.3rem; }
.inline-player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; background: rgba(0,0,0,.25); }
@media (max-width: 850px) {
  .nav-wrap { min-height: 68px; flex-wrap: wrap; gap: 0; }
  .menu-toggle { display: block; margin-left: auto; padding: .4rem .7rem; border: 1px solid var(--lavender); border-radius: 6px; background: none; color: var(--paper); font-size: .84rem; cursor: pointer; }
  .nav-links { display: none; flex-basis: 100%; padding: .7rem 0 1.2rem; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: .55rem 0; }
  .nav-links a[aria-current="page"] { text-underline-offset: .25rem; }
}

@media (max-width: 600px) {
  .section-inner { width: min(calc(100% - 2rem), var(--content)); }
  .hero { min-height: 390px; background-position: 57% center; }
  .eyebrow .role-third { display: block; }
  .eyebrow .role-third .role-separator { display: none; }
  .intro-composition { grid-template-columns: 1fr; gap: 2rem; }
  .intro-portrait { width: min(100%, 280px); height: min(280px, calc(100vw - 2rem)); }
  .footer-inner { display: block; }
  .site-footer p { margin-top: .8rem; text-align: left; }
  .accordion-trigger { min-height: 88px; gap: .45rem; flex-wrap: wrap; align-content: center; }
  .category-title { flex-basis: calc(100% - 32px); }
  .category-label { flex-basis: calc(100% - 32px); }
  .accordion-symbol { order: 2; margin-top: -2.7rem; }
  .accordion-body { padding-bottom: 1.8rem; }
  .work-entry { align-items: flex-start; }
  .pending-label, .play-inline { margin-left: 1.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
