/* Razieh Hossein — editorial portfolio redesign */
:root {
  color-scheme: light;
  --paper: #f4f1eb;
  --paper-white: #fbfaf7;
  --paper-deep: #e8e2d7;
  --ink: #20231f;
  --ink-soft: #50534d;
  --navy: #17263b;
  --navy-deep: #101a29;
  --blue-muted: #344b67;
  --brass: #b58c5b;
  --brass-light: #d6b88e;
  --muted: #76766e;
  --line: rgba(32, 35, 31, .16);
  --line-on-dark: rgba(251, 250, 247, .19);
  --content: 1320px;
  --gutter: clamp(22px, 5.5vw, 82px);
  --header-height: 82px;
  --ease: cubic-bezier(.22, .72, .2, 1);
  --font-fa: 'Vazirmatn', sans-serif;
  --font-en: 'Manrope', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-fa); font-size: 15px; line-height: 1.9; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
body, button, input, textarea, select { font-family: var(--font-fa); }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; -webkit-tap-highlight-color: transparent; }
img, canvas, svg { max-width: 100%; }
img { display: block; }
::selection { color: var(--paper-white); background: var(--navy); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 5px; }
.skip-link { position: fixed; z-index: 5000; top: 10px; inset-inline-start: 10px; padding: 8px 13px; color: white; background: var(--navy); transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.eyebrow, .section-label, .visual-topline, .visual-caption, .visual-note, .hero-foot, .project-kicker, .project-badge, .project-tags, .practice-no, .practice-tags, .teaching-overline, .course-number, .course-audience, .contact-bottom, .footer-meta { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .075em; line-height: 1.5; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0; color: var(--muted); font-size: 10px; letter-spacing: .07em; }
.eyebrow > span:not(.eyebrow-line) { color: var(--brass); }
.eyebrow-line { display: inline-block; width: 27px; height: 1px; background: var(--brass); }
.eyebrow-inverse { color: #b9c0c8; }
.section-shell { padding-inline: var(--gutter); }

/* Header */
.site-header { position: sticky; z-index: 1000; top: 0; background: rgba(244, 241, 235, .92); border-bottom: 1px solid transparent; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.site-header.scrolled { background: rgba(251, 250, 247, .96); border-color: var(--line); box-shadow: 0 8px 26px rgba(16, 26, 41, .045); }
.header-inner { width: min(100%, var(--content)); min-height: var(--header-height); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: clamp(20px, 3vw, 45px); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; direction: ltr; }
.brand-monogram { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--navy); border-radius: 50%; font-family: var(--font-en); font-size: 13px; line-height: 1; letter-spacing: -.14em; }
.brand-monogram span { color: var(--brass); transform: translateY(2px); }
.brand-name, .footer-brand { font-family: var(--font-en); font-size: 10px; font-weight: 800; letter-spacing: .115em; white-space: nowrap; }
.brand-name > span, .footer-brand > span { color: var(--brass); }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 39px); margin-inline: auto; }
.desktop-nav a { position: relative; color: var(--ink-soft); font-size: 12px; white-space: nowrap; transition: color .2s ease; }
.desktop-nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: -8px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease); }
.desktop-nav a:hover, .desktop-nav a[aria-current="location"] { color: var(--ink); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="location"]::after { transform: scaleX(1); }
.header-cta { display: inline-flex; align-items: center; gap: 13px; padding: 9px 0 9px 1px; border-bottom: 1px solid var(--brass); font-size: 11px; white-space: nowrap; transition: color .2s ease; }
.header-cta span { color: var(--brass); font: 16px var(--font-en); transition: transform .2s ease; }
.header-cta:hover { color: var(--brass); }
.header-cta:hover span { transform: translate(2px, -2px); }
.mobile-menu-toggle, .mobile-nav { display: none; }

/* Hero — portrait first, 3D as a supporting signature */
.hero { position: relative; isolation: isolate; min-height: min(800px, calc(100svh - var(--header-height))); overflow: clip; background: var(--paper); }
.hero::before { content: ''; position: absolute; z-index: -1; width: min(58vw, 780px); aspect-ratio: 1; top: -40%; inset-inline-start: -21%; border: 1px solid rgba(181, 140, 91, .18); border-radius: 50%; pointer-events: none; }
.hero-grid-texture { position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .24; background-image: linear-gradient(rgba(23, 38, 59, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 38, 59, .045) 1px, transparent 1px); background-size: 62px 62px; mask-image: linear-gradient(to left, #000, transparent 62%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(330px, .84fr); align-items: center; gap: clamp(36px, 6.5vw, 90px); width: min(100%, var(--content)); min-height: inherit; margin-inline: auto; padding: clamp(46px, 6.2vw, 82px) var(--gutter) 88px; }
.hero-copy { position: relative; z-index: 5; padding-block: 6px; }
.hero-copy .eyebrow { margin-bottom: clamp(20px, 2.5vw, 32px); }
.hero h1 { margin: 0; font-size: clamp(48px, 6.4vw, 87px); font-weight: 500; letter-spacing: -.07em; line-height: 1.3; text-wrap: balance; }
.title-accent { position: relative; z-index: 0; display: inline-block; color: var(--navy); }
.title-accent::after { content: ''; position: absolute; z-index: -1; width: 104%; height: .15em; inset-inline-start: -1%; bottom: .1em; background: rgba(181, 140, 91, .32); transform: rotate(-1.8deg); }
.title-period { color: var(--brass); }
.hero-summary { max-width: 490px; margin: 21px 0 0; color: #66675f; font-size: 14px; font-weight: 350; line-height: 2.15; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 25px; margin-top: 29px; }
.button { min-height: 49px; display: inline-flex; justify-content: center; align-items: center; gap: 24px; padding: 12px 17px; border: 1px solid transparent; font-size: 11px; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease); }
.button span { font: 16px var(--font-en); transition: transform .25s ease; }
.button:hover { transform: translateY(-2px); }
.button:hover span { transform: translate(-2px, 2px); }
.button-primary { color: var(--paper-white); background: var(--navy); }
.button-primary:hover { background: #263c56; }
.button-quiet { gap: 9px; color: var(--ink-soft); padding-inline: 0; border-bottom-color: var(--line); }
.button-quiet span { color: var(--brass); }
.button-quiet:hover { color: var(--brass); }
.hero-specialties { display: flex; flex-wrap: wrap; gap: 11px 20px; margin-top: clamp(32px, 4vw, 52px); padding-top: 18px; border-top: 1px solid var(--line); }
.hero-specialties > div { display: flex; align-items: baseline; gap: 8px; color: #5f625c; font-size: 10px; }
.specialty-number { color: var(--brass); font: 10px var(--font-mono); }

.hero-visual { position: relative; isolation: isolate; justify-self: stretch; width: 100%; max-width: 535px; aspect-ratio: .82; margin: 0; overflow: hidden; background: #e7e0d4; border: 1px solid rgba(23, 38, 59, .13); box-shadow: 22px 22px 0 rgba(23, 38, 59, .055); transform: translate3d(var(--pointer-x, 0px), var(--hero-shift, 0px), 0); transition: box-shadow .25s ease; }
.hero-visual::before { content: ''; position: absolute; z-index: 0; inset: 13px; border: 1px solid rgba(23, 38, 59, .14); pointer-events: none; }
.hero-visual::after { content: ''; position: absolute; z-index: 0; inset: 0; background: radial-gradient(ellipse at 36% 42%, rgba(255, 248, 232, .56), transparent 40%), linear-gradient(150deg, transparent 45%, rgba(23, 38, 59, .06)); pointer-events: none; }
.visual-topline { position: absolute; z-index: 8; top: 27px; inset-inline: 28px; display: flex; justify-content: space-between; gap: 12px; color: rgba(23, 38, 59, .66); font-size: 8px; letter-spacing: .09em; direction: ltr; }
.visual-field { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.visual-arch { position: absolute; top: 15%; left: 12%; width: 72%; height: 80%; border: 1px solid rgba(181, 140, 91, .76); border-bottom: 0; border-radius: 50% 50% 0 0 / 38% 38% 0 0; transform: rotate(-7deg); }
.visual-arch::after { content: ''; position: absolute; inset: 11px; border: 1px solid rgba(23, 38, 59, .16); border-bottom: 0; border-radius: inherit; }
.visual-orbit { position: absolute; width: 70%; aspect-ratio: 1; border: 1px solid rgba(23, 38, 59, .16); border-radius: 50%; }
.visual-orbit-a { top: 23%; left: -14%; transform: scaleY(.72) rotate(-31deg); }
.visual-orbit-b { top: 18%; right: -22%; border-color: rgba(181, 140, 91, .3); transform: scaleY(.78) rotate(28deg); }
.visual-giant-mark { position: absolute; bottom: 8%; left: 6%; color: rgba(23, 38, 59, .055); font: 800 clamp(95px, 15vw, 180px)/.8 var(--font-en); letter-spacing: -.16em; direction: ltr; }
.hero-3d-canvas { position: absolute; z-index: 2; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.portrait-frame { position: absolute; z-index: 3; left: 20%; bottom: 0; width: 72%; height: 81%; display: flex; justify-content: center; align-items: flex-end; overflow: hidden; }
.hero-portrait { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: grayscale(.84) contrast(1.03) brightness(.97); mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 11%, #000 88%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 11%, #000 88%, transparent 100%); }
.visual-note { position: absolute; z-index: 8; display: flex; align-items: center; gap: 8px; color: rgba(23, 38, 59, .7); font-size: 7px; letter-spacing: .11em; direction: ltr; }
.visual-note-top { top: 22%; left: 6%; }
.note-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(181, 140, 91, .13); }
.visual-note-bottom { right: 5%; bottom: 24%; writing-mode: vertical-rl; }
.note-dash { width: 1px; height: 27px; background: var(--brass); }
.visual-caption { position: absolute; z-index: 9; inset-inline: 27px; bottom: 23px; display: flex; align-items: center; gap: 11px; color: var(--navy); font-size: 8px; direction: ltr; }
.caption-monogram { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(23, 38, 59, .62); border-radius: 50%; font-family: var(--font-en); font-size: 10px; }
.visual-caption small { color: rgba(23, 38, 59, .64); font-size: 7px; }
.caption-year { margin-inline-start: auto; font-size: 10px; }
.hero-foot { position: absolute; inset-inline: var(--gutter); bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #89877f; font-size: 8px; letter-spacing: .1em; direction: ltr; }
.hero-foot a { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid rgba(32, 35, 31, .28); border-radius: 50%; font: 14px var(--font-en); color: var(--navy); transition: color .2s ease, background .2s ease, transform .2s ease; }
.hero-foot a:hover { color: var(--paper-white); background: var(--navy); transform: translateY(3px); }
.hero-visual.media-unavailable .portrait-frame { display: none; }
.hero-visual.media-unavailable .visual-giant-mark { color: rgba(23, 38, 59, .12); }

/* Statement */
.statement { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 124px) var(--gutter) clamp(65px, 8vw, 102px); color: var(--paper-white); background: var(--navy); }
.statement::before { content: ''; position: absolute; width: min(48vw, 680px); aspect-ratio: 1; top: -58%; inset-inline-end: -8%; border: 1px solid rgba(214, 184, 142, .22); border-radius: 50%; box-shadow: 0 0 0 50px rgba(214, 184, 142, .025), 0 0 0 100px rgba(214, 184, 142, .02); pointer-events: none; }
.statement-inner { position: relative; width: min(100%, var(--content)); margin-inline: auto; }
.section-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 50px; color: var(--muted); font-size: 9px; letter-spacing: .12em; }
.section-label-light { color: #a0aab5; }
.statement h2 { margin: 0; max-width: 1100px; font-size: clamp(36px, 5.9vw, 77px); font-weight: 400; letter-spacing: -.06em; line-height: 1.55; }
.statement h2 > span { color: var(--brass-light); }
.statement h2 em { color: #aebbc9; font-style: normal; }
.statement-foot { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-top: 39px; padding-top: 21px; border-top: 1px solid var(--line-on-dark); }
.statement-foot p { max-width: 405px; margin: 0; color: #bcc4cc; font-size: 12px; line-height: 2.1; }
.statement-mark { color: var(--brass-light); font-size: 32px; line-height: 1; }

/* Work */
.work-section { padding-block: clamp(85px, 10vw, 135px) clamp(75px, 9vw, 120px); background: var(--paper-white); }
.section-heading { width: min(100%, var(--content)); margin: 0 auto clamp(50px, 7vw, 88px); display: flex; align-items: end; justify-content: space-between; gap: 34px; }
.section-heading h2 { margin: 17px 0 0; font-size: clamp(39px, 5.9vw, 75px); font-weight: 400; letter-spacing: -.065em; line-height: 1.45; }
.section-heading h2 em { color: var(--navy); font-style: normal; }
.section-description { max-width: 325px; margin: 0 0 11px; color: #74756d; font-size: 12px; line-height: 2.15; }
.project-card { width: min(100%, var(--content)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .78fr); align-items: center; gap: clamp(35px, 7.5vw, 105px); direction: ltr; }
.project-card + .project-card { margin-top: clamp(75px, 10vw, 132px); }
.project-card-reverse .project-visual { grid-column: 2; grid-row: 1; }
.project-card-reverse .project-info { grid-column: 1; grid-row: 1; }
.project-visual { position: relative; isolation: isolate; min-width: 0; aspect-ratio: 1.12; overflow: hidden; display: block; background: #d9d1c4; color: var(--paper-white); }
.project-visual::before { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(145deg, rgba(13, 25, 41, .04), rgba(13, 25, 41, .48)); transition: opacity .35s ease; pointer-events: none; }
.project-visual > img { position: relative; z-index: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .75s var(--ease), filter .4s ease; }
.project-visual:hover > img { transform: scale(1.035); }
.project-visual:hover::before { opacity: .7; }
.visual-fallback { position: absolute; z-index: 0; inset: 0; display: none; flex-direction: column; justify-content: center; align-items: flex-start; padding: 8%; overflow: hidden; }
.project-visual img.is-broken + .visual-fallback { display: flex; }
.visual-fallback-dgp { color: #f4f1eb; background: radial-gradient(ellipse at 70% 20%, #4a6277, transparent 43%), linear-gradient(135deg, #17263b, #243e57); }
.visual-fallback-dgp > span { font: 800 clamp(62px, 9vw, 125px)/.9 var(--font-en); letter-spacing: -.12em; }
.visual-fallback-dgp > small { margin-top: 16px; color: #d6b88e; font: 9px var(--font-mono); letter-spacing: .16em; }
.visual-fallback-celyro { align-items: center; color: var(--navy); background: radial-gradient(ellipse at 75% 25%, rgba(255,255,255,.72), transparent 38%), linear-gradient(135deg, #d9c5a7, #eee7dc); }
.visual-fallback-celyro > span { font: 800 clamp(47px, 8vw, 105px)/.9 var(--font-en); letter-spacing: -.1em; }
.visual-fallback-celyro > span > span:first-child { color: #9c7444; }
.visual-fallback-celyro .fallback-period { color: #17263b; }
.visual-fallback-celyro > small { margin-top: 18px; color: #5f5b52; font: 8px var(--font-mono); letter-spacing: .12em; }
.project-visual img.is-broken { display: none; }
.project-visual-dgp { background: linear-gradient(130deg, #17263b, #344b67); }
.project-visual-celyro { background: #e6d9c7; }
.project-visual-celyro::before { background: linear-gradient(135deg, rgba(23, 38, 59, .01), rgba(23, 38, 59, .32)); }
.project-badge { position: absolute; z-index: 3; inset-block-start: 22px; inset-inline: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: rgba(251, 250, 247, .88); font-size: 8px; letter-spacing: .12em; direction: ltr; }
.project-badge b { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid rgba(251, 250, 247, .6); border-radius: 50%; font-weight: 400; }
.project-image-title { position: absolute; z-index: 3; bottom: 9%; left: 7%; color: rgba(251, 250, 247, .95); font: 800 clamp(27px, 4vw, 54px)/.95 var(--font-en); letter-spacing: -.075em; direction: ltr; }
.project-open { position: absolute; z-index: 4; right: 7%; bottom: 8%; display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid rgba(251, 250, 247, .7); border-radius: 50%; font: 19px var(--font-en); transition: background .25s ease, color .25s ease, transform .25s ease; }
.project-visual:hover .project-open { color: var(--navy); background: var(--paper-white); transform: rotate(45deg); }
.celyro-line { position: absolute; z-index: 2; width: 70%; height: 70%; left: 15%; top: 14%; border: 1px solid rgba(251, 250, 247, .55); border-radius: 50%; pointer-events: none; }
.celyro-line-one { transform: rotate(33deg) scaleY(.48); }
.celyro-line-two { transform: rotate(-29deg) scaleY(.7); border-color: rgba(23, 38, 59, .35); }
.project-info { direction: rtl; padding-block: 18px; }
.project-kicker { display: flex; align-items: center; gap: 9px; color: #85867e; font-size: 8px; letter-spacing: .06em; direction: ltr; }
.project-kicker > span { width: 6px; height: 6px; flex: 0 0 6px; background: var(--brass); border-radius: 50%; }
.project-info h3 { margin: 21px 0 18px; color: var(--navy); font: 600 clamp(30px, 3.8vw, 47px)/1.15 var(--font-en); letter-spacing: -.075em; direction: ltr; }
.project-info h3 i { color: var(--brass); font-style: normal; font-weight: 300; }
.project-info h3 .brand-period { color: var(--brass); }
.project-info > p:not(.project-kicker) { max-width: 445px; margin: 0; color: #6d6f67; font-size: 13px; line-height: 2.2; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; direction: ltr; }
.project-tags span { padding: 6px 8px; border: 1px solid rgba(23, 38, 59, .18); color: #555c60; font-size: 8px; letter-spacing: .02em; }
.text-arrow { display: inline-flex; align-items: center; gap: 13px; margin-top: 26px; padding-bottom: 5px; border-bottom: 1px solid rgba(181, 140, 91, .72); color: var(--ink); font-size: 11px; transition: color .2s ease, gap .2s ease; }
.text-arrow span { color: var(--brass); font: 15px var(--font-en); }
.text-arrow:hover { color: var(--brass); gap: 18px; }
.work-note { width: min(100%, var(--content)); margin: 43px auto 0; padding-top: 15px; border-top: 1px solid var(--line); color: #8a8981; font-size: 10px; }

/* Capabilities */
.practice-section { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1.25fr); gap: clamp(45px, 9vw, 132px); padding-block: clamp(90px, 10.5vw, 140px); background: var(--paper); }
.practice-intro { position: sticky; top: calc(var(--header-height) + 38px); align-self: start; }
.practice-intro h2 { margin: 18px 0 21px; font-size: clamp(38px, 5.4vw, 66px); font-weight: 400; line-height: 1.48; letter-spacing: -.06em; }
.practice-intro h2 em { color: var(--navy); font-style: normal; }
.practice-intro > p:last-child { max-width: 320px; margin: 0; color: #74756d; font-size: 12px; line-height: 2.2; }
.practice-list { border-top: 1px solid var(--line); }
.practice-item { display: grid; grid-template-columns: 30px 58px minmax(0, 1fr) 18px; gap: 21px; align-items: start; padding: 28px 0 29px; border-bottom: 1px solid var(--line); }
.practice-no { padding-top: 7px; color: var(--brass); font-size: 9px; }
.practice-glyph { position: relative; width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(23, 38, 59, .2); }
.glyph-design i { position: absolute; display: block; width: 25px; height: 25px; border: 1px solid var(--navy); transform: rotate(45deg); }
.glyph-design i:nth-child(2) { width: 17px; height: 17px; border-color: var(--brass); transform: rotate(20deg); }
.glyph-design i:nth-child(3) { width: 5px; height: 5px; background: var(--brass); border: 0; }
.glyph-ai i { position: absolute; width: 9px; height: 9px; background: var(--brass); border-radius: 50%; }
.glyph-ai i:nth-child(1) { transform: translate(-12px, -10px); }
.glyph-ai i:nth-child(2) { transform: translate(12px, -10px); background: var(--navy); }
.glyph-ai i:nth-child(3) { transform: translate(0, 11px); width: 18px; height: 18px; background: transparent; border: 1px solid var(--navy); }
.glyph-teaching i { position: absolute; width: 23px; height: 31px; border: 1px solid var(--navy); transform: rotate(-8deg); }
.glyph-teaching i:nth-child(2) { border-color: var(--brass); transform: rotate(8deg) translateX(4px); }
.practice-copy h3 { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.8; }
.practice-copy p { max-width: 510px; margin: 6px 0 0; color: #73746c; font-size: 12px; line-height: 2.1; }
.practice-tags { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 13px; color: #87877e; font-size: 8px; letter-spacing: .04em; direction: ltr; }
.practice-symbol { padding-top: 3px; color: var(--brass); font: 17px var(--font-en); transition: transform .2s ease; }
.practice-item:hover .practice-symbol { transform: translate(-3px, 3px); }

/* Teaching */
.teaching-section { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 9vw, 122px) var(--gutter) clamp(75px, 8vw, 105px); color: var(--paper-white); background: var(--navy-deep); }
.teaching-section::before { content: ''; position: absolute; z-index: -1; width: min(57vw, 780px); aspect-ratio: 1; top: -34%; inset-inline-start: -24%; border: 1px solid rgba(214, 184, 142, .15); border-radius: 50%; box-shadow: 0 0 0 50px rgba(214, 184, 142, .02), 0 0 0 100px rgba(214, 184, 142, .015); }
.teaching-inner { width: min(100%, var(--content)); margin-inline: auto; display: grid; grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr); gap: clamp(55px, 9vw, 125px); }
.teaching-intro .eyebrow { margin-bottom: 0; }
.teaching-overline { margin: 45px 0 21px; color: var(--brass-light); font-size: 8px; letter-spacing: .14em; }
.teaching-intro h2 { margin: 0; font-size: clamp(40px, 5.3vw, 68px); font-weight: 400; line-height: 1.48; letter-spacing: -.06em; }
.teaching-intro h2 em { color: var(--brass-light); font-style: normal; }
.teaching-copy { max-width: 380px; margin: 20px 0 26px; color: #b9c3cd; font-size: 12px; line-height: 2.2; }
.button-light { color: var(--navy); background: var(--paper-white); }
.button-light:hover { color: var(--paper-white); background: transparent; border-color: rgba(251, 250, 247, .62); }
.course-list { align-self: center; border-top: 1px solid var(--line-on-dark); }
.course-item { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto 21px; align-items: center; gap: 16px; padding: 23px 0; border-bottom: 1px solid var(--line-on-dark); transition: padding .25s var(--ease); }
.course-item:hover { padding-inline: 7px; }
.course-number { color: var(--brass-light); font-size: 9px; }
.course-content { display: flex; flex-direction: column; gap: 4px; }
.course-content strong { font-size: 14px; font-weight: 500; }
.course-content small { color: #9faab5; font-size: 10px; line-height: 1.8; }
.course-audience { color: #8491a0; font-size: 7px; white-space: nowrap; direction: ltr; }
.course-arrow { color: var(--brass-light); font: 17px var(--font-en); transition: transform .2s ease; }
.course-item:hover .course-arrow { transform: translate(2px, -2px); }
.teaching-signature { display: flex; align-items: center; gap: 12px; padding-top: 25px; }
.teaching-signature > span { color: var(--brass-light); font-size: 21px; }
.teaching-signature p { margin: 0; color: #d5d8dc; font-size: 11px; }

/* About */
.about-section { padding-block: clamp(85px, 10vw, 132px) 80px; background: var(--paper-white); }
.about-section > .section-label { width: min(100%, var(--content)); margin-inline: auto; margin-bottom: 62px; }
.about-grid { width: min(100%, var(--content)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); align-items: center; gap: clamp(45px, 10vw, 145px); }
.about-heading { position: relative; }
.about-heading h2 { position: relative; z-index: 1; margin: 0; font-size: clamp(40px, 6vw, 75px); font-weight: 400; line-height: 1.52; letter-spacing: -.065em; }
.about-heading h2 em { color: var(--navy); font-style: normal; }
.about-watermark { position: absolute; z-index: 0; right: 0; bottom: -14%; color: rgba(181, 140, 91, .11); font: 800 clamp(100px, 17vw, 210px)/.8 var(--font-en); letter-spacing: -.15em; direction: ltr; pointer-events: none; }
.about-copy { position: relative; z-index: 1; }
.about-copy p { margin: 0 0 16px; color: #73746d; font-size: 12px; line-height: 2.25; }
.about-copy .about-lead { color: var(--ink); font-size: 16px; font-weight: 500; line-height: 2.05; }
.principles-row { width: min(100%, var(--content)); margin: 76px auto 0; padding-top: 18px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principles-row > div { display: flex; align-items: center; gap: 13px; padding-block: 7px; }
.principles-row span { color: var(--brass); font: 9px var(--font-mono); }
.principles-row strong { font-size: 11px; font-weight: 500; }

/* Contact */
.contact-section { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 9vw, 122px) var(--gutter) 78px; color: var(--paper-white); background: #202d3d; }
.contact-section::after { content: ''; position: absolute; z-index: -1; right: 0; bottom: 0; left: 0; height: 1px; background: rgba(214, 184, 142, .38); }
.contact-inner { width: min(100%, var(--content)); margin-inline: auto; display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(45px, 10vw, 145px); }
.contact-art { position: relative; width: min(100%, 330px); aspect-ratio: 1; justify-self: center; border: 1px solid rgba(214, 184, 142, .5); border-radius: 50%; }
.contact-ring { position: absolute; border: 1px solid rgba(214, 184, 142, .35); border-radius: 50%; }
.contact-ring-one { inset: 11%; }
.contact-ring-two { inset: 23%; border-color: rgba(251, 250, 247, .19); }
.contact-letter { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(251, 250, 247, .89); font: 500 clamp(70px, 9vw, 112px)/1 var(--font-en); letter-spacing: -.15em; direction: ltr; }
.contact-letter span { color: var(--brass-light); transform: translateY(9px); }
.contact-art-label { position: absolute; left: 50%; bottom: 13%; transform: translateX(-50%); color: #b1bac4; white-space: nowrap; font: 7px var(--font-mono); letter-spacing: .12em; direction: ltr; }
.contact-copy .eyebrow { margin-bottom: 0; }
.contact-copy h2 { margin: 19px 0; font-size: clamp(42px, 6vw, 75px); font-weight: 400; line-height: 1.48; letter-spacing: -.065em; }
.contact-copy h2 em { color: var(--brass-light); font-style: normal; }
.contact-copy > p:not(.eyebrow) { max-width: 430px; margin: 0; color: #c0c8d1; font-size: 12px; line-height: 2.2; }
.contact-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 33px; min-width: 260px; margin-top: 27px; padding: 14px 16px; border: 1px solid rgba(251, 250, 247, .57); color: var(--paper-white); font-size: 11px; transition: color .25s ease, background .25s ease, border-color .25s ease; }
.contact-button span { color: var(--brass-light); font: 17px var(--font-en); }
.contact-button:hover { color: var(--navy); background: var(--paper-white); border-color: var(--paper-white); }
.contact-button:hover span { color: var(--navy); }
.contact-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 17px; }
.contact-links a { color: #aeb8c2; font: 9px var(--font-en); direction: ltr; transition: color .2s ease; }
.contact-links a:hover { color: var(--brass-light); }
.contact-bottom { width: min(100%, var(--content)); margin: 62px auto 0; padding-top: 16px; border-top: 1px solid var(--line-on-dark); display: flex; justify-content: space-between; gap: 18px; color: #8f9eae; font-size: 8px; letter-spacing: .1em; direction: ltr; }

/* Footer */
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 29px var(--gutter) 18px; color: var(--paper-white); background: var(--navy-deep); }
.footer-brand { justify-self: start; font-size: 10px; }
.footer-brand > span { color: var(--brass-light); }
.site-footer > p { margin: 0; color: #aeb7c1; font-size: 10px; text-align: center; }
.back-to-top { display: grid; place-items: center; justify-self: end; width: 34px; height: 34px; border: 1px solid rgba(251, 250, 247, .33); border-radius: 50%; font: 17px var(--font-en); transition: color .2s ease, background .2s ease; }
.back-to-top:hover { color: var(--navy); background: var(--paper-white); }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; margin-top: 17px; padding-top: 14px; border-top: 1px solid rgba(251, 250, 247, .13); color: #778595; font-size: 8px; letter-spacing: .08em; direction: ltr; }

/* Scroll reveal is progressive enhancement; content stays visible if JS fails */
.reveal { opacity: 1; transform: none; }
.js-motion .reveal { transition: opacity .65s var(--ease), transform .65s var(--ease); }
.js-motion .reveal:not(.is-visible) { opacity: 0; transform: translateY(18px); }
.js-motion .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Tablet */
@media (max-width: 1060px) {
  :root { --header-height: 74px; }
  .header-inner { gap: 20px; }
  .desktop-nav { gap: 19px; }
  .desktop-nav a { font-size: 11px; }
  .header-cta { font-size: 10px; }
  .hero-inner { gap: 35px; }
  .hero h1 { font-size: clamp(48px, 6.4vw, 68px); }
  .hero-specialties { gap: 8px 13px; }
  .hero-specialties > div { font-size: 9px; }
  .practice-section { gap: 48px; }
  .practice-item { grid-template-columns: 25px 50px minmax(0, 1fr) 15px; gap: 15px; }
  .practice-glyph { width: 48px; height: 48px; }
  .teaching-inner { gap: 50px; }
}

/* Mobile */
@media (max-width: 800px) {
  :root { --gutter: clamp(21px, 5.4vw, 42px); --header-height: 68px; }
  .desktop-nav, .header-cta { display: none; }
  .header-inner { min-height: var(--header-height); }
  .mobile-menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 40px; height: 40px; margin-inline-start: auto; padding: 10px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
  .mobile-menu-toggle span { display: block; width: 100%; height: 1px; background: var(--navy); transition: transform .22s ease; }
  .mobile-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav { display: flex; flex-direction: column; padding: 5px var(--gutter) 20px; background: rgba(251, 250, 247, .98); border-bottom: 1px solid var(--line); }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: 10px 0; border-bottom: 1px solid rgba(32, 35, 31, .09); font-size: 12px; }
  .mobile-nav a:last-child { border-bottom: 0; color: var(--brass); }
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 41px; padding-bottom: 84px; }
  .hero-copy { grid-row: 1; }
  .hero-copy .eyebrow { margin-bottom: 18px; }
  .hero h1 { max-width: 600px; font-size: clamp(48px, 11vw, 76px); line-height: 1.27; }
  .hero-summary { max-width: 560px; margin-top: 17px; font-size: 13px; }
  .hero-actions { margin-top: 23px; }
  .hero-specialties { margin-top: 26px; }
  .hero-specialties > div { font-size: 9px; }
  .hero-visual { grid-row: 2; width: min(100%, 480px); justify-self: center; aspect-ratio: .86; box-shadow: 12px 12px 0 rgba(23, 38, 59, .055); }
  .hero-foot { position: static; padding: 0 var(--gutter) 17px; margin-top: -65px; }
  .hero-foot span { font-size: 7px; }
  .statement { padding-block: 70px; }
  .section-label { margin-bottom: 34px; font-size: 8px; }
  .statement h2 { font-size: clamp(34px, 7.5vw, 55px); }
  .statement-foot { margin-top: 27px; }
  .statement-foot p { max-width: 80%; font-size: 11px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 40px; }
  .section-heading h2 { font-size: clamp(38px, 8.5vw, 60px); }
  .section-description { max-width: 480px; }
  .project-card, .project-card-reverse { grid-template-columns: 1fr; gap: 20px; }
  .project-card + .project-card { margin-top: 64px; }
  .project-card .project-visual, .project-card-reverse .project-visual { grid-column: 1; grid-row: 1; aspect-ratio: 1.12; }
  .project-card .project-info, .project-card-reverse .project-info { grid-column: 1; grid-row: 2; padding-top: 0; }
  .project-info h3 { margin: 16px 0 13px; font-size: 35px; }
  .project-info > p:not(.project-kicker) { font-size: 12px; }
  .work-note { margin-top: 30px; }
  .practice-section { grid-template-columns: 1fr; gap: 35px; padding-block: 75px; }
  .practice-intro { position: static; }
  .practice-intro h2 { font-size: clamp(38px, 8vw, 55px); }
  .practice-intro > p:last-child { max-width: 500px; }
  .practice-item { grid-template-columns: 25px 47px minmax(0, 1fr) 15px; gap: 13px; padding-block: 22px; }
  .practice-glyph { width: 45px; height: 45px; }
  .practice-copy h3 { font-size: 15px; }
  .practice-copy p { font-size: 11px; }
  .practice-tags { gap: 7px 10px; font-size: 7px; }
  .teaching-section { padding-block: 72px; }
  .teaching-inner { grid-template-columns: 1fr; gap: 42px; }
  .teaching-overline { margin-top: 29px; }
  .teaching-intro h2 { font-size: clamp(40px, 8vw, 60px); }
  .course-list { align-self: stretch; }
  .course-item { grid-template-columns: 25px minmax(0, 1fr) auto 18px; gap: 10px; padding-block: 19px; }
  .course-content strong { font-size: 12px; }
  .course-content small { font-size: 9px; }
  .course-audience { font-size: 6px; }
  .about-section { padding-block: 74px 66px; }
  .about-section > .section-label { margin-bottom: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-heading h2 { font-size: clamp(41px, 9vw, 63px); }
  .about-watermark { font-size: clamp(110px, 25vw, 190px); }
  .about-copy .about-lead { font-size: 14px; }
  .about-copy p { font-size: 11px; }
  .principles-row { margin-top: 43px; grid-template-columns: 1fr; gap: 0; }
  .principles-row > div { border-bottom: 1px solid rgba(32, 35, 31, .08); }
  .principles-row > div:last-child { border-bottom: 0; }
  .contact-section { padding-block: 70px 65px; }
  .contact-inner { grid-template-columns: 1fr; gap: 37px; }
  .contact-art { width: min(68vw, 270px); }
  .contact-copy h2 { font-size: clamp(42px, 9vw, 64px); }
  .contact-bottom { margin-top: 47px; font-size: 7px; }
  .site-footer { grid-template-columns: 1fr auto; padding-top: 24px; }
  .site-footer > p { grid-column: 1; grid-row: 2; text-align: start; }
  .back-to-top { grid-column: 2; grid-row: 1 / 3; }
  .footer-meta { font-size: 7px; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 9px; letter-spacing: .08em; }
  .brand-monogram { width: 33px; height: 33px; }
  .hero h1 { font-size: clamp(43px, 12vw, 54px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hero-specialties { gap: 9px 12px; }
  .hero-specialties > div { width: 100%; }
  .visual-topline { inset-inline: 21px; font-size: 6px; }
  .visual-caption { inset-inline: 20px; bottom: 19px; }
  .visual-note { font-size: 6px; }
  .project-badge { inset-inline: 16px; top: 16px; font-size: 7px; }
  .project-image-title { font-size: 29px; }
  .practice-item { grid-template-columns: 21px 38px minmax(0, 1fr) 12px; gap: 9px; }
  .practice-glyph { width: 37px; height: 37px; }
  .glyph-design i { width: 18px; height: 18px; }
  .glyph-design i:nth-child(2) { width: 12px; height: 12px; }
  .glyph-ai i:nth-child(1) { transform: translate(-8px, -8px); }
  .glyph-ai i:nth-child(2) { transform: translate(8px, -8px); }
  .glyph-ai i:nth-child(3) { transform: translate(0, 8px); width: 14px; height: 14px; }
  .glyph-teaching i { width: 17px; height: 23px; }
  .course-item { grid-template-columns: 20px minmax(0, 1fr) 16px; }
  .course-audience { display: none; }
  .contact-button { min-width: 0; width: 100%; gap: 16px; }
  .footer-meta { flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .js-motion .reveal:not(.is-visible) { opacity: 1; transform: none; }
}
