/* Direction 5, The Quiet Institution. Phancao & Shaffer, LLP. Prospecting mockup, 2026-09-13.
   One serif (EB Garamond, SIL OFL 1.1, self-hosted, variable weight 400 to 800).
   Three colours: warm stone, one deep ground, the gold from their own logo. Gold is never text on a light ground. */

@font-face{font-family:'EB Garamond';font-style:normal;font-weight:400 800;font-display:swap;src:url('fonts/eb-garamond-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'EB Garamond';font-style:normal;font-weight:400 800;font-display:swap;src:url('fonts/eb-garamond-latin-ext-400-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'EB Garamond';font-style:italic;font-weight:400 800;font-display:swap;src:url('fonts/eb-garamond-latin-400-italic.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'EB Garamond';font-style:italic;font-weight:400 800;font-display:swap;src:url('fonts/eb-garamond-latin-ext-400-italic.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}

:root{
  --stone:#F2EEE6;
  --stone-2:#E8E2D6;
  --line:#D6CDBE;
  --line-soft:#E3DCCE;
  --ink:#10283B;
  --navy:#0D476C;
  --body:#2F3D49;
  --muted:#55606B;
  --gold:#EFD038;
  --deep:#0F2A3F;
  --deep-2:#0B2032;
  --on-deep:#EDE7DA;
  --on-deep-muted:#B8C2CB;
  --serif:'EB Garamond',Garamond,'Times New Roman',Times,serif;
  --max:1180px;
  --gutter:clamp(20px,4vw,48px);
  --bar:64px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--stone);color:var(--body);font-family:var(--serif);font-size:19px;line-height:1.55;font-weight:400;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
h1,h2,h3{font-weight:500;color:var(--ink);margin:0;line-height:1.15;letter-spacing:-.005em}
h1{font-size:clamp(34px,3.6vw,46px)}
h2{font-size:clamp(24px,2.3vw,30px)}
h3{font-size:22px}
p{margin:0 0 1em}
p:last-child{margin-bottom:0}
a{color:var(--navy);text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:1.5px;text-underline-offset:.22em;transition:text-decoration-color .2s,color .2s}
a:hover{color:var(--ink);text-decoration-color:var(--ink)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--navy);outline-offset:3px}
small,.small{font-size:15.5px;line-height:1.5}
.wrap{max-width:var(--max);margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
.skip{position:absolute;left:-9999px;top:0;background:var(--deep);color:var(--on-deep);padding:10px 14px;z-index:20}
.skip:focus{left:var(--gutter)}

/* The skeleton: a heading in the left column, the substance in the right. Every section on every page uses it,
   so the hero's empty left column is the same column, left deliberately empty. */
.row{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,9fr);column-gap:48px;align-items:start}
.row > h2{font-size:14px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--ink);padding-top:.55em;line-height:1.4}
.col{grid-column:2}
.measure{max-width:38em}

/* Navigation. Thin bar that shrinks on scroll. Height and heading size share one budget. */
.bar{position:sticky;top:0;z-index:10;background:rgba(242,238,230,.94);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid transparent;transition:border-color .25s}
.bar .wrap{display:flex;align-items:center;justify-content:space-between;height:var(--bar);transition:height .25s}
.bar.is-scrolled{border-bottom-color:var(--line)}
.bar.is-scrolled .wrap{height:54px}
.brand{display:flex;align-items:center;text-decoration:none}
.brand img{height:30px;width:auto;transition:height .25s}
.bar.is-scrolled .brand img{height:25px}
.nav{display:flex;align-items:center;gap:30px}
.nav a{font-size:14px;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;color:var(--ink);padding:6px 0;border-bottom:1.5px solid transparent;transition:border-color .2s}
.nav a:hover,.nav a[aria-current="page"]{border-bottom-color:var(--gold)}
.nav .tel{font-size:17px;letter-spacing:0;text-transform:none;color:var(--navy);font-weight:500;border-bottom:0}
.menu{display:none;background:none;border:1px solid var(--line);color:var(--ink);font:inherit;font-size:14px;letter-spacing:.12em;text-transform:uppercase;padding:8px 12px;cursor:pointer}
.bar-right{display:none}

/* Hero. Left-aligned into the content column. No third line. */
.hero{padding:clamp(72px,10vw,132px) 0 clamp(56px,7vw,96px)}
.hero h1{max-width:16em}
.hero .sub{font-size:clamp(20px,1.9vw,23px);line-height:1.42;color:var(--body);margin:1.1em 0 1.6em;max-width:31em}
.hero .sub span{display:block}
.cta{display:flex;flex-wrap:wrap;align-items:center;gap:18px 28px}
.cta .or{color:var(--muted);font-size:17px}
.cta .or a{font-weight:500;color:var(--navy)}
.btn{display:inline-block;background:var(--deep);color:var(--on-deep);border:1px solid var(--deep);padding:13px 26px 14px;font-size:17.5px;line-height:1.2;text-decoration:none;letter-spacing:.01em;transition:background .2s,border-color .2s}
.btn:hover{background:var(--navy);border-color:var(--navy);color:var(--on-deep)}
.btn.light{background:transparent;color:var(--on-deep);border-color:var(--on-deep-muted)}
.btn.light:hover{background:var(--on-deep);color:var(--deep)}

/* The one line about the four stages. Its links are the navigation. */
.line-band{background:var(--stone-2);padding:clamp(40px,5vw,64px) 0}
.line-band .rule{width:44px;height:2px;background:var(--gold);margin-bottom:22px}
.line-band p{font-size:clamp(21px,2.1vw,25px);line-height:1.45;color:var(--ink);max-width:30em}

/* Sections */
.section{padding:clamp(56px,7.5vw,104px) 0}
.section + .section{padding-top:0}
.lede{font-size:clamp(20px,1.9vw,23px);line-height:1.45;color:var(--ink)}
.more{margin-top:26px;font-size:17.5px}

/* Definitions: one plain sentence per service. A list, never a grid. */
.defs{margin:0;border-top:1px solid var(--line)}
.defs > div{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);column-gap:32px;padding:20px 0 22px;border-bottom:1px solid var(--line)}
.defs dt{font-size:21px;font-weight:500;color:var(--ink);line-height:1.3}
.defs dd{margin:0;color:var(--body)}
.defs dd p{margin-bottom:.6em}
.defs dd .note{font-size:16px;color:var(--muted)}
.group + .group{margin-top:44px}
.group h3{font-size:14px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:14px}

/* Placeholders. Visibly unfinished on purpose; an invented fact would look exactly like a real one. */
.ph{display:inline;color:#7A2E1E;background:#F6E3D9;border:1px dashed #C77A5B;padding:1px 6px;font-size:.9em;line-height:1.5}

/* The ampersand from their own logo. Quote mark, join, divider, wordmark, favicon. */
.amp{display:inline-block;width:auto;color:var(--gold);vertical-align:middle}
.amp-rule{display:flex;align-items:center;gap:20px;margin:0 0 clamp(36px,5vw,56px)}
.amp-rule::before,.amp-rule::after{content:"";flex:1;height:1px;background:var(--line)}
.amp-rule .amp{height:22px;width:34px}
.on-deep .amp-rule::before,.on-deep .amp-rule::after{background:rgba(237,231,218,.25)}

/* Testimonial band on the deep ground. One per page. */
.quote-band{background:var(--deep);color:var(--on-deep);padding:clamp(64px,8vw,112px) 0}
.quote-band .amp{height:40px;width:63px;margin-bottom:26px}
.quote-band blockquote{margin:0;font-size:clamp(23px,2.4vw,30px);line-height:1.38;font-style:italic;font-weight:400;max-width:26em;color:var(--on-deep)}
.quote-band cite{display:block;font-style:normal;font-size:17px;color:var(--on-deep-muted);margin-top:22px;letter-spacing:.02em}
.quote-band .disclaimer{margin-top:30px;font-size:14.5px;line-height:1.5;color:var(--on-deep-muted);max-width:40em}
.quote-band a{color:var(--on-deep);text-decoration-color:var(--gold)}
.quote-band a:hover{color:#fff;text-decoration-color:#fff}

/* Founders: two people joined by the mark that already joins them in the logo. */
.pair{display:flex;align-items:center;gap:clamp(18px,3vw,36px);margin-bottom:34px}
.pair figure{margin:0;flex:0 1 220px}
.pair img{width:100%;aspect-ratio:4/5;object-fit:cover}
.pair figcaption{margin-top:12px;font-size:17px;color:var(--ink);line-height:1.35}
.pair figcaption span{display:block;font-size:15.5px;color:var(--muted)}
.pair .amp{height:34px;width:53px;flex:0 0 auto}

/* Facts: things that are true, listed, with nothing in front of them. */
.facts{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.facts li{padding:15px 0 16px;border-bottom:1px solid var(--line);color:var(--body)}
.facts li q{quotes:"\201C" "\201D"}
.badges{display:flex;flex-wrap:wrap;align-items:center;gap:22px 40px;margin-top:40px}
.badges img{height:54px;width:auto;filter:grayscale(1) opacity(.7);transition:filter .3s}
.badges img:hover{filter:none}

/* Closing block */
.close-band{background:var(--stone-2);padding:clamp(56px,7vw,96px) 0}
.close-band p.big{font-size:clamp(22px,2.2vw,27px);line-height:1.4;color:var(--ink);max-width:24em;margin-bottom:.4em}
.close-band .cta{margin-top:30px}

/* People (the firm page) */
.people{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 28px;margin:0;padding:0;list-style:none}
.people li{margin:0}
.people img{width:100%;aspect-ratio:4/5;object-fit:cover;margin-bottom:14px}
.people .name{font-size:20px;font-weight:500;color:var(--ink);line-height:1.3}
.people .role{font-size:15.5px;color:var(--muted);margin:2px 0 8px}
.people p{font-size:16.5px;line-height:1.5;margin-bottom:.5em}
.people.staff{grid-template-columns:repeat(4,minmax(0,1fr))}
.people.staff img{aspect-ratio:1/1}
.team{margin:0}
.team img{width:100%;max-width:820px;border:1px solid var(--line)}
.team figcaption{font-size:15.5px;color:var(--muted);margin-top:12px}
blockquote.inset{margin:26px 0;padding-left:22px;border-left:2px solid var(--gold);font-style:italic;font-size:21px;line-height:1.45;color:var(--ink);max-width:32em}
blockquote.inset cite{display:block;font-style:normal;font-size:16px;color:var(--muted);margin-top:10px}
blockquote.inset p{margin-bottom:.5em}

/* Offices and contact */
.offices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin:0;padding:0;list-style:none}
.offices h3{font-size:14px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.offices address{font-style:normal;line-height:1.5;color:var(--body)}
.bigtel{font-size:clamp(30px,3.6vw,44px);font-weight:500;color:var(--navy);text-decoration:none;letter-spacing:.005em;line-height:1.15}
.bigtel:hover{color:var(--ink)}
.contact-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px}
form{margin:0}
.field{margin-bottom:18px}
label{display:block;font-size:15.5px;color:var(--muted);margin-bottom:6px;letter-spacing:.02em}
input,textarea{width:100%;font:inherit;font-size:18px;color:var(--ink);background:#FBF9F5;border:1px solid var(--line);padding:10px 12px;border-radius:0}
textarea{min-height:130px;resize:vertical}
button.btn{cursor:pointer;font-family:inherit}

/* Footer on the deep ground. The wordmark is set in type, with their own ampersand. */
.foot{background:var(--deep-2);color:var(--on-deep-muted);padding:clamp(48px,6vw,72px) 0 36px;font-size:16px;line-height:1.5}
.foot .grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,3fr) minmax(0,3fr) minmax(0,2fr);gap:40px}
.wordmark{font-size:24px;color:var(--on-deep);line-height:1.2;letter-spacing:.01em}
.wordmark .amp{height:20px;width:31px;margin:0 2px 0 4px;vertical-align:-3px}
.foot .trading{color:var(--on-deep-muted);margin-top:6px;font-size:16px}
.foot h3{font-size:13px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:var(--on-deep-muted);margin-bottom:10px}
.foot address{font-style:normal;color:var(--on-deep)}
.foot a{color:var(--on-deep);text-decoration-color:rgba(239,208,56,.7)}
.foot a:hover{color:#fff;text-decoration-color:#fff}
.foot ul{list-style:none;margin:0;padding:0}
.foot li{margin-bottom:6px}
.foot .fine{margin-top:44px;padding-top:22px;border-top:1px solid rgba(237,231,218,.18);font-size:14px;color:var(--on-deep-muted);display:flex;flex-wrap:wrap;gap:12px 40px;justify-content:space-between}
.foot .fine p{margin:0;max-width:52em}

/* Motion. Three moments and no more: the hero settles on load, the bar shrinks on scroll, badges colour on hover. */
.hero > .wrap > .col{animation:settle .7s ease-out both}
@keyframes settle{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.hero > .wrap > .col{animation:none}.bar .wrap,.brand img,.badges img,a,.btn{transition:none}}

/* Narrow screens */
@media (max-width:900px){
  .people,.people.staff{grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot .grid{grid-template-columns:1fr 1fr}
  .contact-grid{grid-template-columns:1fr}
}
@media (max-width:720px){
  body{font-size:18px}
  br.d{display:none}
  .brand img{height:24px}
  .menu{padding:7px 10px}
  .row{grid-template-columns:1fr;row-gap:18px}
  .col{grid-column:1}
  .row > h2{padding-top:0}
  .defs > div{grid-template-columns:1fr;row-gap:6px;padding:18px 0}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--stone);border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:0;padding:8px var(--gutter) 16px}
  .nav a{padding:12px 0;width:100%;border-bottom:1px solid var(--line-soft)}
  .nav .tel{padding-top:16px;border-bottom:0}
  .bar.is-open .nav{display:flex}
  .menu{display:inline-block}
  .bar-right{display:flex;align-items:center;gap:14px}
  .bar-right .tel-sm{font-size:16px;font-weight:500;color:var(--navy);text-decoration:none;white-space:nowrap}
  .pair{align-items:flex-start}
  .pair figure{flex:1 1 0}
  .pair .amp{margin-top:15vw;height:26px;width:41px}
  .offices{grid-template-columns:1fr}
  .foot .grid{grid-template-columns:1fr;gap:28px}
}
@media (max-width:420px){
  .people,.people.staff{grid-template-columns:1fr 1fr;gap:22px 16px}
  .brand img{height:21px}
  .bar-right{gap:10px}
  .bar-right .tel-sm{font-size:15px}
}
