/* The Chiswell Group: shared styles for Home, Our Brands, Our People and Careers.
   World: near-black ground, tone-step surfaces, cream ink, flat gold on the one action and the CHISWELL monument.
   No hairlines, no eyebrows, square corners. The swirl C keeps its foil gradient because it is the brand mark. */

:root{
  --bg:#0F0B08;--surface:#1A140F;--surface-2:#251C15;--surface-3:#30251B;
  --ink:#F6F0E3;--ink-soft:#DCD2BF;--muted:#B8AA93;
  --gold:#C9A24A;--gold-light:#EBD08A;--on-gold:#17110D;
  --display:'Cormorant Garamond',Georgia,serif;--body:'Hanken Grotesk',system-ui,sans-serif;
  /* five type steps: monument, title, heading, body, small */
  --t-title:clamp(3.25rem,7.2vw,7rem);--t-heading:clamp(2rem,3.4vw,2.75rem);--t-body:1.0625rem;--t-small:0.9375rem;
  --margin:clamp(1.25rem,4vw,4rem);--gap:clamp(7rem,12vw,11rem);
  --ease-out:cubic-bezier(0.23,1,0.32,1);--ease-in-out:cubic-bezier(0.77,0,0.175,1);
  --nav-h:5rem;
  color-scheme:dark;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--nav-h) + 1rem)}
@media (pointer:fine){html{overscroll-behavior:none}}
body{margin:0;background:var(--bg);color:var(--ink);font:400 var(--t-body)/1.6 var(--body);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-webkit-tap-highlight-color:transparent}
::selection{background:var(--gold);color:var(--on-gold)}
html{scrollbar-color:var(--surface-3) var(--bg);scroll-behavior:smooth}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-underline-offset:.2em;text-decoration-thickness:1px}
button,a,input,select,textarea,summary{touch-action:manipulation}
h1,h2,h3{font-family:var(--display);font-weight:500;margin:0;text-wrap:balance}
p{margin:0;text-wrap:pretty;max-width:68ch}
:focus-visible{outline:2px solid var(--gold-light);outline-offset:3px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:var(--margin);top:-4rem;z-index:100;background:var(--gold);color:var(--on-gold);padding:.75rem 1rem;font-weight:600;text-decoration:none}
.skip:focus{top:1rem}
.wrap{padding-inline:max(var(--margin),env(safe-area-inset-left,0px)) max(var(--margin),env(safe-area-inset-right,0px))}

/* Type roles. Tracking tightens as size grows (Apple: size-specific tracking). */
.title{font-size:var(--t-title);line-height:.94;letter-spacing:-.03em}
.heading{font-size:var(--t-heading);line-height:1.05;letter-spacing:-.015em}
.lead{font-size:1.1875rem;line-height:1.6;color:var(--ink-soft);max-width:34em}
.small{font-size:var(--t-small);line-height:1.5;letter-spacing:.01em;color:var(--muted)}
.measure{max-width:36em}

/* Buttons: flat gold, square, press feedback on pointer-down. */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.6em;min-height:3.25rem;padding:0 1.6rem;font:600 var(--t-body)/1 var(--body);text-decoration:none;border:0;cursor:pointer;background:var(--gold);color:var(--on-gold);transition:background-color .2s ease,transform .1s ease-out}
.btn:active{transform:scale(.97)}
.btn.quiet{background:var(--surface-2);color:var(--ink)}
@media (hover:hover){.btn:hover{background:var(--gold-light)}.btn.quiet:hover{background:var(--surface-3)}}
.link{font-weight:600;color:var(--gold-light);text-decoration:underline;text-decoration-color:rgba(235,208,138,.4)}
@media (hover:hover){.link:hover{text-decoration-color:currentColor}}
.btn svg,.link svg{width:1em;height:1em;flex:none}

/* Navigation: one translucent bar, content scrolls under it (Apple materials). */
.nav{position:sticky;top:0;z-index:50;height:var(--nav-h);display:flex;align-items:center;justify-content:space-between;gap:1.5rem;background:rgba(15,11,8,.72);-webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);transition:box-shadow .3s ease} /* taste-skill-ignore: real overlay or Apple material (nav, menu sheet, reduced-transparency fallback) */
.nav.scrolled{box-shadow:0 10px 30px -12px rgba(0,0,0,.7)} .nav .brand img{height:2.75rem;width:auto} /* taste-skill-ignore: real overlay or Apple material (nav, menu sheet, reduced-transparency fallback) */
.nav .links{display:flex;align-items:center;gap:2rem;font-size:var(--t-body)}
.nav .links a{text-decoration:none;color:var(--ink-soft);padding:.5rem 0;transition:color .2s ease}
.nav .links a[aria-current="page"]{color:var(--gold-light)}
@media (hover:hover){.nav .links a:hover{color:var(--ink)}}
.nav .btn{min-height:2.75rem;padding:0 1.1rem}
.menu-btn{display:none;align-items:center;gap:.5rem;min-height:2.75rem;padding:0 1rem;background:var(--surface-2);color:var(--ink);border:0;font:600 var(--t-body) var(--body);cursor:pointer}
.menu-btn:active{transform:scale(.97)}
.menu-btn svg{width:1.1rem;height:1.1rem}

/* Mobile menu: a sheet that grows from its button and leaves the way it came. */
.sheet{display:none;position:fixed;z-index:60;top:.75rem;right:.75rem;left:.75rem;padding:1.25rem 1.25rem 1.5rem;background:rgba(26,20,15,.94);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:0 30px 60px -20px rgba(0,0,0,.8);transform-origin:top right;opacity:0;transform:scale(.96);transition:transform .32s var(--ease-out),opacity .2s ease,display .32s allow-discrete,overlay .32s allow-discrete;overscroll-behavior:contain} /* taste-skill-ignore: the menu sheet is a real overlay */
.sheet.open{display:block;opacity:1;transform:none}
@starting-style{.sheet.open{opacity:0;transform:scale(.96)}}
.sheet .top{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}
.sheet .top img{height:2.25rem;width:auto}
.sheet ul{list-style:none;margin:0 0 1.25rem;padding:0}
.sheet li a{display:block;padding:.85rem 0;font:500 2rem/1.1 var(--display);text-decoration:none}
.sheet li a[aria-current="page"]{color:var(--gold-light)}
.sheet .btn{width:100%}
.scrim{display:none;position:fixed;inset:0;z-index:55;background:rgba(0,0,0,.5);opacity:0;transition:opacity .3s ease,display .3s allow-discrete}
.scrim.open{display:block;opacity:1}
@starting-style{.scrim.open{opacity:0}}

/* Page hero for inner pages: title left, one large picture right. */
.page-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(2rem,5vw,5rem);align-items:center;padding-block:clamp(2.5rem,5vw,4.5rem) 0;min-height:calc(100svh - var(--nav-h) - 2rem)}
.page-hero .title{margin-bottom:1.75rem}
.page-hero .lead{margin-bottom:2.25rem}
.page-hero figure{margin:0}
.page-hero figure img{width:100%;aspect-ratio:4/5;max-height:calc(100svh - var(--nav-h) - 7rem);object-fit:cover}

figure{margin:0}
figcaption{margin-top:.75rem}
.plate{background:#F3EDE0;padding:clamp(.75rem,1.6vw,1.25rem)}
.plate img{mix-blend-mode:multiply}

/* Sections: separated by space and tone steps, never lines. */
.section{padding-block:var(--gap)}
.section.tone{background:var(--surface)}
.section-head{margin-bottom:clamp(2.5rem,5vw,4rem);max-width:44rem}
.section-head .heading+p{margin-top:1.25rem;color:var(--ink-soft)}

/* Entrance: parts rise once as their section arrives. Visible by default without script. */
@media (prefers-reduced-motion:no-preference){.js [data-rise]{opacity:0;transform:translateY(1.5rem);transition:opacity .8s var(--ease-out),transform .8s var(--ease-out);transition-delay:calc(var(--i,0) * 75ms)}
.js .in [data-rise],.js [data-rise].in{opacity:1;transform:none}}
@keyframes line-rise{from{transform:translateY(105%)}to{transform:none}}
.mask{display:block;overflow:hidden;padding-bottom:.08em;margin-bottom:-.08em}
.mask>span{display:block;animation:line-rise 1s var(--ease-out) both}
.mask+.mask>span{animation-delay:.11s}
@keyframes fade-up{from{opacity:0;transform:translateY(.75rem)}to{opacity:1;transform:none}}
.after-title{animation:fade-up .9s var(--ease-out) both .35s}
@keyframes settle{from{transform:scale(1.07)}to{transform:none}}
.settle{overflow:hidden}
.settle img{animation:settle 2.4s var(--ease-out) both .1s}

/* Footer: a gold field with the name at full width. */
.footer{background:var(--gold);color:var(--on-gold);padding-top:clamp(3rem,6vw,5rem)}
.footer a{color:inherit}
.footer .cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2rem;font-size:var(--t-body);line-height:1.6}
.footer .cols ul{list-style:none;margin:0;padding:0}
.footer .cols strong{display:block;font-weight:600;margin-bottom:.25rem}
.footer .cols .soft{color:#4A3A1E}
.footer .name{display:block;width:min(100%,30rem);margin:clamp(4rem,9vw,8rem) auto clamp(2.5rem,5vw,4rem)}
.footer .name img{width:100%;height:auto}
.footer .legal{display:flex;justify-content:space-between;gap:1rem 2rem;flex-wrap:wrap;padding-block:1.25rem 2rem;font-size:var(--t-small);color:#3F311A}
.footer .legal p{max-width:65ch}
.footer .credits a{text-decoration:underline}

/* Forms (shared by the trade and careers forms). Fields keep their lines: they are real controls. */
form{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem 1.5rem;padding:clamp(1.5rem,3.5vw,3rem);background:var(--surface-2)}
form .f{display:flex;flex-direction:column;gap:.5rem;min-width:0}
form .f.full,form .submit-row{grid-column:1/-1}
form label{font-size:var(--t-body);font-weight:500;color:var(--ink-soft)}
form input,form select,form textarea{font:400 1rem var(--body);color:var(--ink);background-color:var(--bg);border:1px solid #57483A;border-radius:0;padding:.9rem 1rem;width:100%;transition:border-color .2s ease}
form input:focus,form select:focus,form textarea:focus{border-color:var(--gold)}
form input:user-invalid,form textarea:user-invalid{border-color:#E07A5F}
form select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9A24A' stroke-width='1.6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;padding-right:2.75rem}
form select option{background:var(--bg);color:var(--ink)}
form textarea{min-height:10rem;resize:vertical}
form .submit-row{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap;padding-top:.25rem}
form .hint{font-size:var(--t-small);color:var(--muted)}

@media (max-width:980px){
  .nav .links{display:none}
  .menu-btn{display:inline-flex}
  .page-hero{grid-template-columns:1fr;align-items:start;min-height:0}
  .page-hero figure img{aspect-ratio:4/3}
  .footer .cols{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
  :root{--nav-h:4.25rem;--t-body:1rem}
  .nav .brand img{height:2.25rem}
  .nav .btn{display:none}
  .lead{font-size:1.0625rem}
  form{grid-template-columns:1fr}
}

/* Accessibility preferences (Apple: three independent signals). */
@media (prefers-reduced-motion:reduce){
  .mask>span,.after-title,.settle img{animation:none}
  .sheet{transform:none}
  *,*::before,*::after{scroll-behavior:auto!important}
}
@media (prefers-reduced-transparency:reduce){
  .nav{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none} /* taste-skill-ignore: real overlay or Apple material (nav, menu sheet, reduced-transparency fallback) */
  .sheet{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none} /* taste-skill-ignore: real overlay or Apple material (nav, menu sheet, reduced-transparency fallback) */
}
@media (prefers-contrast:more){
  :root{--ink-soft:#F6F0E3;--muted:#E2D8C4}
  .btn.quiet,form{outline:1px solid var(--ink)}
}
