:root {
  --ink: #11110f;
  --ink-soft: #2d2c28;
  --paper: #f3f0e9;
  --paper-deep: #e8e2d8;
  --line: rgba(17,17,15,.14);
  --muted: #726f67;
  --accent: #b18b56;
  --accent-soft: #d8c3a1;
  --cream: #fbf8f2;
  --white: #fff;
  --shadow: 0 28px 70px rgba(20,18,14,.12);
  --radius: 26px;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(177,139,86,.12), transparent 68%);
  transform: translate(-50%, -50%); transition: opacity .25s ease;
}
.section-shell { width: min(1320px, calc(100% - 72px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 40; min-height: 76px; display: grid;
  grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
  padding: 0 32px; border-bottom: 1px solid rgba(17,17,15,.11);
  background: rgba(243,240,233,.88); backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; font-weight: 650; font-size: 14px; letter-spacing: -.01em; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-size: 11px; letter-spacing: .08em;
}
.nav { display: flex; align-items: center; gap: 28px; font-size: 13px; color: var(--muted); }
.nav a { transition: color .2s ease; }
.nav a:hover { color: var(--ink); }
.header-cta { justify-self: end; font-size: 13px; font-weight: 650; display: flex; gap: 8px; align-items: center; }
.header-cta span { transition: transform .2s ease; }
.header-cta:hover span { transform: translate(2px,-2px); }

.hero { padding: 82px 0 58px; }
.hero-kicker {
  display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px;
  text-transform: uppercase; letter-spacing: .12em; font-weight: 650;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(177,139,86,.13); }
.hero-title {
  margin: 26px 0 36px; max-width: 1120px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(52px, 5.8vw, 92px); line-height: .94; letter-spacing: -.055em;
}
.hero-emphasis { color: var(--accent); font-style: italic; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.hero-copy { margin: 0; max-width: 660px; color: var(--ink-soft); font-size: clamp(16px, 1.25vw, 20px); line-height: 1.58; letter-spacing: -.02em; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.button {
  min-height: 50px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 650;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.button-primary:hover { background: #292821; }
.button-ghost { background: transparent; }
.button-ghost:hover { background: rgba(255,255,255,.45); border-color: rgba(17,17,15,.28); }
.button-ghost.light { color: var(--cream); border-color: rgba(255,255,255,.22); }
.button-ghost.light:hover { background: rgba(255,255,255,.08); }
.hero-rule { margin-top: 48px; height: 1px; background: var(--line); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.metric { padding: 22px 28px 26px 0; border-right: 1px solid var(--line); }
.metric + .metric { padding-left: 28px; }
.metric:last-child { border-right: 0; }
.metric-value { display: block; font-family: var(--serif); font-size: clamp(30px, 2.4vw, 42px); letter-spacing: -.035em; }
.metric p { margin: 9px 0 0; max-width: 250px; color: var(--muted); font-size: 12px; line-height: 1.6; }

.work { padding: 94px 0 68px; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: end; margin-bottom: 34px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .16em; }
.section-heading h2, .about-card h2, .contact-panel h2 {
  margin: 0; font-family: var(--serif); font-size: clamp(38px, 4.1vw, 62px); line-height: .98; letter-spacing: -.045em; font-weight: 500;
}
.section-heading > p { margin: 0; max-width: 600px; justify-self: end; color: var(--muted); font-size: 14px; line-height: 1.7; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.project-card {
  min-height: 0; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.34);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(17,17,15,.24); }
.project-featured, .project-wide, .project-grid > .project-card:nth-child(2), .project-grid > .project-card:nth-child(5), .project-grid > .project-card:nth-child(6) { grid-column: auto; min-height: 0; }
.project-card-top { min-height: 54px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.project-number, .project-type { font-size: 10px; text-transform: uppercase; letter-spacing: .13em; font-weight: 750; }
.project-type { color: var(--muted); }
.project-visual { min-height: 270px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.project-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.project-label { margin: 0 0 7px; color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-weight: 750; }
.project-card h3 { margin: 0; max-width: 720px; font-family: var(--serif); font-size: clamp(27px, 2.4vw, 38px); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; }
.project-card-body > div:first-child > p:last-child { margin: 12px 0 0; max-width: 720px; color: var(--muted); font-size: 13px; line-height: 1.62; }
.project-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.project-meta span {
  padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft);
}
.project-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.text-link {
  width: max-content; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--ink); font-size: 12px; font-weight: 700; text-align: left;
}
.text-link span { display: inline-block; transition: transform .2s ease; }
.text-link:hover span { transform: translate(2px,-2px); }
.muted-link { color: var(--muted); }

.visual-narelle { display: grid; place-items: center; padding: 28px; background: linear-gradient(135deg,#172257,#334b8b 58%,#6fc1c9); }
.visual-window { width: min(92%, 780px); border-radius: 14px; overflow: hidden; box-shadow: 0 22px 55px rgba(0,0,0,.28); background: #f8fafc; transform: rotate(-1.4deg); }
.window-bar { height: 34px; padding: 0 12px; display: flex; gap: 6px; align-items: center; background: #edf0f4; color: #7f8490; font-size: 8px; letter-spacing: .1em; }
.window-bar i { width: 6px; height: 6px; border-radius: 50%; background: #c5cad3; }
.window-bar span { margin-left: 7px; }
.narelle-grid { padding: 20px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 9px; }
.narelle-hero { grid-column: 1 / -1; padding-bottom: 14px; border-bottom: 1px solid #dbe1e8; }
.narelle-hero small { display: block; color: #3a91a6; font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.narelle-hero strong { display: block; margin-top: 5px; color: #24306b; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.narelle-card { padding: 12px; display: grid; gap: 4px; border: 1px solid #dbe1e8; border-radius: 8px; }
.narelle-card span { font-size: 7px; color: #7a8291; text-transform: uppercase; }
.narelle-card b { font-size: 10px; color: #26316c; }
.narelle-card em { margin-top: 7px; color: #388ca1; font-size: 8px; font-style: normal; }
.narelle-footer { grid-column: 1/-1; display: flex; gap: 12px; color: #7c8492; font-size: 7px; text-transform: uppercase; letter-spacing: .1em; }

.visual-miau { min-height: 330px; display: grid; place-items: center; background: #151410; color: #f4efe4; }
.money-orbit { position: absolute; border: 1px solid rgba(216,195,161,.22); border-radius: 50%; }
.orbit-a { width: 340px; height: 340px; right: -90px; top: -120px; }
.orbit-b { width: 240px; height: 240px; left: -90px; bottom: -80px; }
.miau-panel { width: 82%; padding: 26px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); border-radius: 18px; position: relative; }
.miau-panel small { color: #c6a974; font-size: 8px; letter-spacing: .18em; font-weight: 800; }
.miau-panel > strong { display: block; margin: 10px 0 24px; font-family: var(--serif); font-size: 30px; line-height: 1; font-weight: 500; }
.miau-row { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 9px; color: #afa99e; }
.miau-row b { color: #f5efe3; font-weight: 650; }

.visual-bolter { padding: 34px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg,#e8eef8,#cbd9ec); }
.bolter-label, .recruitment-title, .retail-title { font-size: 9px; letter-spacing: .14em; font-weight: 800; color: #5d6f8d; }
.bolter-flow { margin: 32px 0; display: flex; align-items: center; gap: 9px; }
.flow-node { min-width: 80px; padding: 12px 10px; text-align: center; border-radius: 11px; background: rgba(255,255,255,.72); border: 1px solid rgba(56,74,102,.15); font-size: 9px; font-weight: 750; }
.flow-node.active { background: #315b91; color: #fff; }
.bolter-flow i { font-style: normal; color: #6b7e9d; }
.bolter-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.bolter-actions span { padding: 9px 6px; border-radius: 7px; background: rgba(255,255,255,.48); color: #5d6f8d; font-size: 7px; text-transform: uppercase; text-align: center; letter-spacing: .06em; }

.visual-braze { padding: 34px; display: flex; flex-direction: column; justify-content: center; background: #28163a; color: #fff; }
.braze-north-star { width: max-content; max-width: 100%; padding: 8px 12px; border-radius: 999px; background: #f0d5ff; color: #4d2162; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.braze-programs { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.braze-programs div { padding: 22px; min-height: 150px; border-radius: 14px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.055); }
.braze-programs small { color: #deacf0; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.braze-programs strong { display: block; margin-top: 13px; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.braze-programs span { display: block; margin-top: 22px; color: rgba(255,255,255,.62); font-size: 8px; }

.visual-recruitment { padding: 32px; display: flex; flex-direction: column; justify-content: center; background: #f7f7f4; }
.recruitment-title { color: #292929; }
.recruitment-flow { margin: 32px 0 26px; display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.recruitment-flow span { font-size: 8px; font-weight: 750; }
.recruitment-flow i { flex: 1; max-width: 28px; height: 1px; background: #b8b8b1; position: relative; }
.recruitment-flow i::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #148a52; position: absolute; right: 0; top: -2px; }
.recruitment-proof { padding: 14px; border-radius: 10px; background: #303030; color: #fff; display: grid; gap: 3px; }
.recruitment-proof b { font-size: 9px; }
.recruitment-proof span { color: #bdbdb8; font-size: 8px; }

.visual-retail { min-height: 300px; padding: 42px; display: flex; flex-direction: column; justify-content: center; background: #f3efe8; }
.retail-title { color: #8e754e; }
.retail-timeline { margin: 30px 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #b9ad9c; }
.retail-timeline div { padding-top: 13px; position: relative; }
.retail-timeline div::before { content: ""; width: 7px; height: 7px; position: absolute; top: -4px; left: 0; border-radius: 50%; background: #8e754e; }
.retail-timeline span { display: block; color: #a49480; font-size: 8px; }
.retail-timeline b { display: block; margin-top: 7px; font-family: var(--serif); font-size: 18px; font-weight: 500; }
.visual-retail p { margin: 0; color: #83796a; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }

.experience { padding: 92px 0 62px; }
.experience-layout { display: grid; grid-template-columns: 1.6fr .7fr; gap: 18px; }
.experience-main, .experience-side { border: 1px solid var(--line); border-radius: var(--radius); }
.experience-main { padding: 30px; background: rgba(255,255,255,.38); }
.experience-head { display: flex; gap: 24px; justify-content: space-between; align-items: flex-start; }
.experience-company { display: block; color: var(--accent); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.experience-head h3 { margin: 9px 0 0; max-width: 780px; font-family: var(--serif); font-size: clamp(30px,2.8vw,44px); line-height: 1.05; letter-spacing: -.035em; font-weight: 500; }
.experience-date { color: var(--muted); font-size: 11px; white-space: nowrap; }
.experience-intro { margin: 28px 0; max-width: 860px; color: var(--ink-soft); font-size: 15px; line-height: 1.68; }
.experience-columns { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.experience-columns > div { padding: 18px 0 0; border-top: 1px solid var(--line); }
.micro-label { color: var(--accent); font-size: 9px; text-transform: uppercase; font-weight: 800; letter-spacing: .13em; }
.experience-columns p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.experience-side { padding: 28px; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; }
.pull-quote { margin: 0 0 auto; font-family: var(--serif); font-size: clamp(26px,2.4vw,36px); line-height: 1.12; letter-spacing: -.025em; }
.side-stat { padding-top: 22px; margin-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.side-stat span { font-family: var(--serif); font-size: 34px; color: var(--accent-soft); }
.side-stat p { margin: 5px 0 0; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.6; }

.about { padding: 66px 0 90px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.about-card, .contact-panel { border-radius: var(--radius); padding: 38px; }
.about-card { background: var(--paper-deep); }
.about-card h2 { max-width: 900px; }
.about-card > p:not(.eyebrow) { margin: 32px 0; max-width: 720px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.about-principles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.about-principles span { padding: 12px 0; border-top: 1px solid rgba(17,17,15,.16); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.contact-panel { background: var(--ink); color: var(--cream); display: flex; flex-direction: column; justify-content: space-between; }
.contact-panel h2 { font-size: clamp(36px,3.6vw,54px); }
.contact-actions { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 10px; }
.contact-panel .button-primary { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.contact-panel .button-primary:hover { background: #e9e1d4; }

.disclosure { margin-bottom: 40px; color: var(--muted); font-size: 10px; text-align: center; }
.site-footer {
  min-height: 90px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em;
}
.site-footer span:nth-child(2) { justify-self: center; }
.site-footer span:last-child { justify-self: end; }

.project-dialog {
  width: min(1180px, calc(100% - 34px)); max-height: calc(100vh - 34px); padding: 0; border: 0;
  border-radius: 28px; background: var(--cream); color: var(--ink); box-shadow: 0 50px 120px rgba(0,0,0,.35);
}
.project-dialog::backdrop { background: rgba(12,12,10,.72); backdrop-filter: blur(10px); }
.dialog-shell { position: relative; padding: 54px; overflow-y: auto; max-height: calc(100vh - 34px); }
.dialog-close {
  position: sticky; top: 0; z-index: 2; float: right; margin-top: -20px; margin-right: -18px;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(251,248,242,.92);
  cursor: pointer; font-size: 24px; line-height: 1; color: var(--ink); backdrop-filter: blur(8px);
}
.dialog-hero { max-width: 900px; padding: 20px 0 50px; }
.dialog-hero h2 { margin: 0; font-family: var(--serif); font-size: clamp(54px,6.5vw,90px); line-height: .9; letter-spacing: -.05em; font-weight: 500; }
.dialog-lede { margin: 28px 0; max-width: 780px; color: var(--ink-soft); font-size: 18px; line-height: 1.55; letter-spacing: -.015em; }
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.dialog-grid section { min-height: 250px; padding: 30px 34px 32px 0; border-bottom: 1px solid var(--line); }
.dialog-grid section:nth-child(odd) { border-right: 1px solid var(--line); }
.dialog-grid section:nth-child(even) { padding-left: 34px; }
.dialog-grid h3 { margin: 12px 0 10px; font-family: var(--serif); font-size: 28px; line-height: 1.12; letter-spacing: -.025em; font-weight: 500; }
.dialog-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
blockquote { margin: 44px 0 0; padding: 36px 0 0; border-top: 1px solid var(--line); font-family: var(--serif); font-size: clamp(28px,3.4vw,48px); line-height: 1.05; letter-spacing: -.035em; font-style: italic; color: var(--accent); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero-bottom, .section-heading, .experience-layout, .about { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .section-heading { gap: 28px; }
  .section-heading > p { justify-self: start; }
  .project-featured, .project-grid > .project-card:nth-child(2), .project-wide, .project-grid > .project-card:nth-child(5) { grid-column: span 6; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(3), .metric:nth-child(4) { border-top: 1px solid var(--line); }
  .experience-layout { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section-shell { width: min(100% - 34px, 1420px); }
  .site-header { min-height: 68px; padding: 0 17px; }
  .brand-copy { display: none; }
  .header-cta { font-size: 12px; }
  .hero { padding-top: 74px; }
  .hero-title { font-size: clamp(52px,15vw,82px); margin-bottom: 34px; }
  .hero-copy { font-size: 17px; }
  .hero-rule { margin-top: 48px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric, .metric + .metric { padding: 20px 0; border-right: 0; border-top: 1px solid var(--line); }
  .metric:first-child { border-top: 0; }
  .work, .experience { padding-top: 88px; }
  .project-card, .project-featured, .project-grid > .project-card:nth-child(2), .project-wide, .project-grid > .project-card:nth-child(5), .project-grid > .project-card:nth-child(6) { grid-column: 1 / -1; min-height: 0; }
  .project-visual { min-height: 280px; }
  .project-card h3 { font-size: 34px; }
  .narelle-grid { grid-template-columns: 1fr; }
  .narelle-card:nth-of-type(2) { display: none; }
  .narelle-footer { grid-column: 1; }
  .bolter-actions { grid-template-columns: 1fr 1fr; }
  .braze-programs { grid-template-columns: 1fr; }
  .braze-programs div { min-height: 110px; }
  .recruitment-flow { flex-wrap: wrap; justify-content: flex-start; }
  .recruitment-flow i { width: 18px; flex: 0 0 18px; }
  .visual-retail { padding: 28px; }
  .retail-timeline { grid-template-columns: 1fr 1fr; row-gap: 24px; border-top: 0; }
  .retail-timeline div { border-top: 1px solid #b9ad9c; }
  .experience-main, .experience-side, .about-card, .contact-panel { padding: 26px; }
  .experience-head { display: grid; }
  .experience-columns { grid-template-columns: 1fr; }
  .about-principles { grid-template-columns: 1fr; }
  .site-footer { padding: 26px 0; grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .site-footer span:nth-child(2), .site-footer span:last-child { justify-self: start; }
  .dialog-shell { padding: 30px 24px; }
  .dialog-hero { padding-top: 8px; }
  .dialog-hero h2 { font-size: 64px; }
  .dialog-lede { font-size: 17px; }
  .dialog-grid { grid-template-columns: 1fr; }
  .dialog-grid section, .dialog-grid section:nth-child(even) { padding: 25px 0; border-right: 0; }
  blockquote { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}

/* Second-pass scale calibration: keep the editorial feel without oversized hierarchy. */
@media (min-width: 1200px) {
  .hero-title { max-width: 1080px; }
  .hero-bottom { grid-template-columns: minmax(0, 680px) auto; }
  .project-card-body { min-height: 250px; }
  .project-grid > .project-card:nth-child(6) .project-visual { min-height: 240px; }
  .about-card h2 { max-width: 760px; }
  .contact-panel h2 { max-width: 560px; }
}

@media (max-width: 1050px) {
  .section-shell { width: min(100% - 44px, 1320px); }
}

@media (max-width: 720px) {
  .section-shell { width: min(100% - 28px, 1320px); }
  .hero { padding-top: 58px; }
  .hero-title { font-size: clamp(44px, 12vw, 66px); margin-bottom: 28px; }
  .hero-copy { font-size: 16px; }
  .work, .experience { padding-top: 72px; }
  .project-visual { min-height: 240px; }
  .project-card h3 { font-size: 31px; }
  .about-card, .contact-panel { padding: 26px; }
  .contact-panel h2 { font-size: 39px; }
}

/* LOCKED WORK GRID: exactly 2 cards per row on desktop/tablet, 3 rows total. */
@media (min-width: 721px) {
  .project-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
  }

  .project-grid > .project-card,
  .project-grid > .project-card.project-featured,
  .project-grid > .project-card.project-wide,
  .project-grid > .project-card:nth-child(2),
  .project-grid > .project-card:nth-child(5),
  .project-grid > .project-card:nth-child(6) {
    grid-column: auto !important;
    min-height: 0 !important;
    width: auto !important;
    height: 100% !important;
  }

  .project-grid > .project-card .project-visual {
    min-height: 238px !important;
  }

  .project-grid > .project-card .project-card-body {
    min-height: 228px !important;
  }
}

.dialog-action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.dialog-action-row .button-ghost {
  background: transparent;
}

/* Portfolio v2.1 - compact, equal proof grid */
.project-card { height: 100%; }
.project-visual { min-height: 220px; }
.project-card-body { min-height: 218px; padding: 20px 22px 22px; gap: 15px; }
.project-card h3 { font-size: clamp(25px, 2vw, 34px); }
.project-card-body > div:first-child > p:last-child { font-size: 12.5px; line-height: 1.58; }
.project-actions { gap: 14px; }
.project-actions .text-link { white-space: nowrap; }

.project-dialog { width: min(1040px, calc(100% - 34px)); }
.dialog-shell { padding: 44px; }
.dialog-hero { padding: 12px 0 36px; }
.dialog-hero h2 { font-size: clamp(50px, 6vw, 76px); }
.dialog-lede { font-size: 17px; margin: 20px 0; max-width: 760px; }
.dialog-grid section { min-height: 205px; padding-top: 24px; padding-bottom: 26px; }
.dialog-grid h3 { font-size: 25px; }
.dialog-action-row { display:flex; gap:10px; flex-wrap:wrap; margin-top:22px; }

@media (min-width: 721px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .project-grid > .project-card,
  .project-grid > .project-card.project-featured,
  .project-grid > .project-card.project-wide,
  .project-grid > .project-card:nth-child(2),
  .project-grid > .project-card:nth-child(5),
  .project-grid > .project-card:nth-child(6) {
    grid-column: auto !important;
    min-height: 0 !important;
    height: 100% !important;
  }
  .project-grid > .project-card .project-visual { min-height: 220px !important; }
  .project-grid > .project-card .project-card-body { min-height: 218px !important; }
}
@media (max-width: 720px) {
  .project-grid { grid-template-columns: 1fr !important; }
  .project-visual { min-height: 220px !important; }
}
