:root {
  --paper: #f4f0e6;
  --ink: #30372b;
  --accent: #805536;
  --display: 'Cormorant Garamond', Georgia, serif;
  --olive: #353c30;
  --cream: #f4efe1;
  --line: #c6c4b3;
  --muted: #595f51;
  --gutter: clamp(32px, 4.3vw, 82px);
  --rail: clamp(194px, 16.1vw, 290px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.atelier { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 'Onest', Arial, sans-serif; }
.atelier a { color: inherit; text-decoration: none; }
.atelier a:focus-visible, .atelier summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.a-layout { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); }
.a-layout :is(h1, h2, h3, p, figure, dl, dd) { margin: 0; }
.a-layout :is(h1,h2,h3) { font-family: var(--display); font-weight: 500; }
.a-layout :is(h1,h2) { letter-spacing: -.055em; }
.a-layout h2 { font-size: clamp(47px, 5.5vw, 108px); line-height: .98; }
.a-layout img { display: block; width: 100%; height: 100%; object-fit: cover; }
.a-mono, .a-index a, .a-mobile-actions nav a, .a-mobile-actions > a, .a-footer a {
  font: 500 10px/1.5 'JetBrains Mono', monospace; letter-spacing: .075em; text-transform: uppercase;
}
.a-layout em { font-weight: 400; }
.a-skip, .a-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.a-skip:focus { z-index: 20; clip-path: none; width: auto; height: auto; padding: 10px; background: white; color: black; }
.a-rail {
  position: sticky; z-index: 5; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column;
  padding: clamp(26px, 4.5vh, 60px) clamp(23px, 2.1vw, 46px) 24px; background: var(--olive); color: var(--cream);
}
.a-rail::after { content:''; position:absolute; top:0; bottom:0; right:6px; border-right:1px dashed #90977e66; pointer-events:none; }
.a-brand { display: flex; flex-direction:column; align-items:flex-start; width:fit-content; }
.a-monogram { position:relative; display:block; width:82px; height:76px; color:#dedac5; font: 500 77px/.9 var(--display); }
.a-monogram i, .a-monogram b { position:absolute; font-weight:400; }
.a-monogram i { left:0; top:2px; font-style:italic; }
.a-monogram b { left:24px; top:2px; font-style:normal; }
.a-brand-name { font: 500 clamp(20px, 1.55vw, 29px)/1 var(--display); letter-spacing:-.025em; }
.a-index { display: grid; gap: 0; margin: auto 0; padding: 28px 0; }
.a-index a { position:relative; display:block; padding:7px 0; color:#dedfce; line-height:1.6; }
.a-index .a-selected { color:#fff9e9; padding-left:15px; }
.a-selected::before { content:''; position:absolute; left:0; top:50%; width:6px; height:6px; transform:translateY(-50%) rotate(45deg); background:#d2ae80; }
.a-index a:hover, .a-mobile-actions nav a:hover { color:#fff8da; text-decoration:underline; text-underline-offset:4px; }
.a-rail-foot { display:grid; gap:12px; border-top:1px solid #dedac53b; padding-top:18px; }
.a-rail-foot span { color:#dad9c9; }
.a-rail-foot a { width:fit-content; color:#d0d1bf; font-size:12px; }
.a-mobile-actions { display:none; }
.a-main { min-width: 0; }
.a-wrap { max-width: 1640px; margin: 0 auto; padding-inline: var(--gutter); }
.a-header { min-height:72px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
.a-header a { display:inline-flex; align-items:center; gap:15px; padding:12px 0; }
.a-header a span { font: normal 18px/1 'Onest', sans-serif; }
.a-dotted, .a-small-line { display:inline-flex; align-items:center; gap:12px; }
.a-dotted::before { content:''; width:7px; height:7px; background:var(--accent); transform:rotate(45deg); }
.a-small-line::before { content:''; width:27px; height:1px; background:currentColor; opacity:.7; }
.a-hero {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.06fr); grid-template-rows:1fr auto;
  column-gap:clamp(24px,3.5vw,66px); padding:clamp(38px,4vw,72px) 0 clamp(38px,4.4vw,86px); border-bottom:1px solid var(--line);
}
.a-intro { align-self:center; padding:24px 0 16px; }
.a-intro .a-mono { color:var(--accent); }
.a-intro h1 { font-size:clamp(76px,7.55vw,155px); line-height:.81; margin:clamp(26px,3vw,54px) 0 25px; }
.a-intro h1 em { display:inline-block; margin-left:-.04em; }
.a-roles { font-size:clamp(13px,1vw,18px); line-height:1.55; color:var(--muted); }
.a-portrait { grid-column:2; grid-row:1 / 3; min-width:0; align-self:center; }
.a-mount { position:relative; padding:8px; background:#e7dfce; border:1px solid #b8b09b; }
.a-mount img { aspect-ratio: .83; object-position:50% 33%; background:#d3c8b7; }
.a-portrait figcaption { display:flex; justify-content:space-between; gap:10px; color:var(--muted); margin-top:10px; font-size:9px; }
.a-intro-end { align-self:end; padding:4px 0 28px; }
.a-intro-end p { font:500 clamp(24px,2.1vw,40px)/1.09 var(--display); letter-spacing:-.025em; }
.a-button { display:inline-flex; gap:22px; justify-content:space-between; align-items:center; padding:14px 20px; }
.atelier .a-button { background:var(--olive); color:var(--cream); border:1px solid var(--olive); font-size:13px; line-height:1.3; transition:background .2s; }
.atelier .a-button:hover { background:#4a5441; }
.a-button span, .a-textlink span { font-family:'Onest',Arial,sans-serif; font-size:1.18em; }
.a-hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px 20px; margin-top:24px; }
.a-about { display:grid; grid-template-columns:.65fr 1.35fr; gap:var(--gutter); padding:clamp(56px,6.5vw,130px) 0 42px; }
.a-about-note { padding-top:12px; color:var(--accent); }
.a-about-copy p { max-width:53ch; margin-top:24px; font-size:clamp(14px,1.1vw,19px); }
.a-textlink { display:inline-flex; align-items:center; gap:15px; padding:5px 0 4px; border-bottom:1px solid currentColor; font-size:13px; }
.a-textlink:hover { color:var(--accent); }
.a-about-copy .a-textlink { margin-top:20px; }
.a-stats { display:grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding:24px 0; border-block:1px solid var(--line); }
.a-stats div { padding:0 18px; border-left:1px solid var(--line); }
.a-stats div:first-child { padding-left:0; border-left:0; }
.a-stats dt { font:500 clamp(34px,3.2vw,64px)/1 var(--display); letter-spacing:-.045em; font-variant-numeric:lining-nums; }
.a-stats dd { max-width:26ch; margin-top:8px; font-size:13px; line-height:1.45; color:var(--muted); }
.a-practice, .a-media { padding:clamp(65px,7.5vw,140px) 0; }
.a-practice > p, .a-media > p, .a-contact > span { color:var(--accent); }
.a-practice > h2, .a-media > h2, .a-contact h2 { margin:18px 0 35px; }
.a-practice-grid { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:var(--gutter); }
.a-object { min-height:300px; position:relative; }
.a-object img { position:absolute; inset:0; }
.a-rows { border-top:1px solid var(--line); }
.a-rows > a { display:flex; justify-content:space-between; gap:16px; align-items:start; border-bottom:1px solid var(--line); padding:20px 0; }
.a-rows h3 { font-size:clamp(31px,2.8vw,55px); line-height:.97; letter-spacing:-.035em; }
.a-rows p { max-width:40ch; margin-top:11px; font-size:14px; line-height:1.48; color:var(--muted); }
.a-rows > a > span { line-height:1; font-size:20px; color:var(--accent); }
.a-rows a:hover h3, .a-books a:hover > span { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.15em; }
.a-genesis {
  isolation:isolate; position:relative; overflow:hidden; color:#fff3df; padding:clamp(40px,5.4vw,110px) var(--gutter);
  background:repeating-linear-gradient(102deg,#ffffff05 0px,#ffffff05 1px,transparent 1px,transparent 4px),#805a40;
}
.a-genesis::after { content:''; z-index:-1; position:absolute; inset:10px; border:1px dashed #e5c8aa80; pointer-events:none; }
.a-genesis h2 { margin:24px 0 30px; font-size:clamp(92px,13vw,250px); line-height:.8; text-transform:uppercase; letter-spacing:-.075em; }
.a-genesis-foot { border-top:1px solid #ebd8bba6; padding-top:22px; display:flex; justify-content:space-between; align-items:flex-end; gap:25px; }
.a-genesis-foot p { max-width:52ch; font-size:15px; }
.a-genesis-foot .a-textlink { flex:none; }
.a-genesis a:hover { color:white; }
.a-media-grid { display:grid; grid-template-columns:1.35fr .65fr; gap:var(--gutter); align-items:center; }
.a-books { border-top:1px solid var(--line); }
.a-books a { display:flex; gap:20px; align-items:center; border-bottom:1px solid var(--line); padding:14px 0; }
.a-books small { font:500 11px 'JetBrains Mono',monospace; color:var(--muted); }
.a-books span { font:500 clamp(25px,2.4vw,45px)/1.08 var(--display); letter-spacing:-.025em; }
.a-books i { margin-left:auto; font:normal 16px 'Onest', sans-serif; }
.a-archive p { font-size:15px; }
.a-archive .a-textlink { margin-top:14px; }
.a-contact { padding:clamp(45px,5.5vw,106px) 0; border-top:1px solid var(--line); }
.a-contact h2 { margin-bottom:18px; }
.a-contact > p { max-width:49ch; }
.a-actions { margin-top:24px; display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.a-footer { display:flex; justify-content:space-between; align-items:center; padding:18px 0 24px; border-top:1px solid var(--line); }
.a-footer > span { font:500 23px var(--display); }
@media (max-height:620px) and (min-width:851px) {
  .a-rail { overflow:auto; padding-top:18px; }
  .a-index { padding:15px 0; }
  .a-index a { padding:4px 0; }
}
@media (max-width:1100px) and (min-width:851px) {
  :root { --gutter:30px; --rail:180px; }
  .a-rail { padding-inline:20px; }
  .a-hero { gap:0 18px; grid-template-columns:1.02fr 1fr; }
  .a-intro h1 { font-size:7.45vw; }
  .a-intro { padding-top:4px; }
  .a-intro-end { padding-bottom:12px; }
}
@media (max-width:850px) {
  :root { --gutter:clamp(20px,5vw,42px); }
  .a-layout { display:block; }
  .a-rail { position:sticky; height:62px; flex-direction:row; align-items:center; justify-content:space-between; padding:0 var(--gutter); }
  .a-rail::after { inset:auto 0 3px; height:0; border:0; border-bottom:1px dashed #90977e66; }
  .a-brand { flex-direction:row; gap:11px; align-items:center; }
  .a-monogram { width:35px; height:36px; font-size:36px; }
  .a-monogram b { left:10px; }
  .a-brand-name { font-size:21px; }
  .a-index,.a-rail-foot { display:none; }
  .a-mobile-actions { display:flex; align-items:center; gap:16px; }
  .a-mobile-actions > a { border-bottom:1px solid #bfbfa7; padding:5px 0; font-size:9px; }
  .a-mobile-actions summary { display:grid; place-items:center; width:34px; height:42px; cursor:pointer; list-style:none; }
  .a-mobile-actions summary::-webkit-details-marker { display:none; }
  .a-mobile-actions summary > span:first-child { width:23px; height:9px; border-block:1px solid currentColor; }
  .a-mobile-actions nav { position:absolute; inset:100% 0 auto; max-height:calc(100dvh - 62px); overflow:auto; background:var(--olive); padding:12px var(--gutter) 22px; box-shadow:0 12px 20px #242b1c22; }
  .a-mobile-actions nav a { display:block; padding:10px 0; border-bottom:1px solid #e4e5d52e; }
  .a-header { min-height:51px; }
  .a-header > a { display:none; }
  .a-hero { padding-block:38px; gap:0 22px; }
  .a-intro h1 { font-size:clamp(65px,9vw,86px); }
  .a-intro-end { padding-bottom:15px; }
  .a-genesis h2 { font-size:clamp(84px,18vw,160px); }
}
@media (max-width:575px) {
  .a-hero { position:relative; grid-template-columns:minmax(0,1fr) minmax(0,.96fr); grid-template-rows:auto auto; gap:22px 10px; padding-block:26px; }
  .a-intro { padding:0; align-self:center; }
  .a-intro .a-mono { font-size:8px; gap:7px; }
  .a-intro .a-small-line::before { width:12px; }
  .a-intro h1 { font-size:clamp(40px,10.6vw,61px); margin:18px 0; }
  .a-roles { font-size:11px; line-height:1.5; }
  .a-portrait { grid-row:1; align-self:start; }
  .a-mount { padding:4px; }
  .a-mount img { aspect-ratio: .70; }
  .a-portrait figcaption { font-size:8px; margin-top:6px; gap:2px; }
  .a-portrait figcaption span:first-child { display:none; }
  .a-intro-end { grid-column:1/-1; padding:0; }
  .a-intro-end p { font-size:clamp(30px,7.6vw,43px); }
  .a-hero-actions { margin-top:17px; }
  .a-about, .a-media-grid { grid-template-columns:1fr; gap:18px; }
  .a-about { padding:40px 0 28px; }
  .a-about-note { padding:0; }
  .a-layout h2 { font-size:clamp(42px,11vw,62px); }
  .a-about-copy p { margin-top:16px; }
  .a-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 0; }
  .a-stats div:nth-child(odd) { border:0; padding-left:0; }
  .a-stats dd { font-size:12px; }
  .a-practice,.a-media { padding:45px 0; }
  .a-practice > h2,.a-media > h2 { margin:12px 0 23px; }
  .a-practice-grid { grid-template-columns:1fr; gap:0; }
  .a-practice-grid .a-object { min-height:0; height:46vw; margin-bottom:18px; }
  .a-object img { object-position:50% 48%; }
  .a-rows > a { padding:18px 0; }
  .a-rows h3 br { display:none; }
  .a-genesis { padding:36px var(--gutter); }
  .a-genesis h2 { font-size:clamp(72px,19vw,104px); margin:20px 0; }
  .a-genesis-foot { display:block; padding-top:16px; }
  .a-genesis-foot .a-textlink { margin-top:16px; }
  .a-actions { gap:16px; }
  .a-books a { gap:15px; }
  .a-footer { margin-bottom:0; }
}
@media (max-width:360px) {
  :root { --gutter:15px; }
  .a-brand-name { font-size:18px; }
  .a-mobile-actions { gap:10px; }
  .a-intro .a-mono { letter-spacing:.01em; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .a-button { transition:none; }
}
