/* ==========================================================================
   Sabrina Bennardo Design — site.css
   Palette is derived from the photography. See PHOTO-PREP.md.
   ========================================================================== */

:root{
  /* --- Ground ------------------------------------------------------------ */
  --ivory:       #FBF4EB;   /* page background      L*96.5 a*1.1 b*5.0 */
  --ivory-warm:  #F2E8DD;   /* alternating panel    L*92.5 */
  --linen:       #E8DED2;   /* image mat / letterbox L*89 */
  --hairline:    #D9D0C7;   /* rules                L*84 */

  /* --- Ink --------------------------------------------------------------- */
  --taupe:       #958A7E;   /* captions, meta, monogram  L*58 */
  --taupe-light: #AFA396;   /* the monogram on the dark footer  L*66 */
  --stone:       #71665D;   /* secondary text       L*44 */
  --espresso:    #483E37;   /* body text            L*27 */
  --espresso-d:  #362C26;   /* headings             L*19 */
  --ink:         #2A221D;   /* footer ground        L*14 */

  /* --- Type -------------------------------------------------------------- */
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans:  "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* --- Rhythm ------------------------------------------------------------ */
  --gutter: 2rem;
  --measure: 34rem;
  --section: clamp(5rem, 11vw, 10rem);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Dark mode: this is an editorial, paper-white brand. Hold the ivory ground
   in both schemes rather than inverting — but lift contrast slightly. */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --ivory:#F7EFE4; --ivory-warm:#EDE2D5; --linen:#E2D7C9;
    --hairline:#CFC5B9; --espresso:#403630; --espresso-d:#2E251F;
  }
}
:root[data-theme="dark"]{
  --ivory:#F7EFE4; --ivory-warm:#EDE2D5; --linen:#E2D7C9;
  --hairline:#CFC5B9; --espresso:#403630; --espresso-d:#2E251F;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,*::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(--ivory);
  color:var(--espresso);
  font-family:var(--sans);
  font-size:1rem;
  line-height:1.75;
  font-weight:400;
  letter-spacing:.005em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}

h1,h2,h3{
  font-family:var(--serif);
  font-weight:400;
  color:var(--espresso-d);
  letter-spacing:-.012em;
  line-height:1.06;
  margin:0;
  text-wrap:balance;
}
h1{font-size:clamp(2.9rem,7.2vw,6rem)}
/* h2 is the site's section heading — the Hammerton panel's title and the
   closing lines on the home, gallery and about pages. It carries the same mark
   as the name: Instrument Sans, semibold, uppercase, tracked at .38em. Set
   between the hero nameplate above it and the sequence note titles below, so
   the three levels read as one family at three weights of emphasis.
   The serif scale it replaced ran to 3.6rem; uppercase capitals at that size,
   with this much tracking, would be wider than the column they sit in.
   The centred closing headings carry their own max-width inline, in rem. They
   were written in `ch`, which is the width of the font's zero and takes no
   account of letter-spacing — against tracked capitals it sized the column
   roughly half what it needed to be, and the lines broke every three words. */
h2{
  font-family:var(--sans);
  font-weight:600;
  font-size:clamp(1.3rem,2.6vw,1.75rem);
  letter-spacing:.38em;
  text-transform:uppercase;
  line-height:1.5;
}
h3{font-size:clamp(1.4rem,2.2vw,1.9rem);line-height:1.2}
p{margin:0 0 1.35em}
p:last-child{margin-bottom:0}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.wrap{
  width:100%;
  max-width:88rem;
  margin-inline:auto;
  padding-inline:var(--gutter);
}
.wrap--narrow{max-width:62rem}
.measure{max-width:var(--measure)}
.section{padding-block:var(--section)}
.section--tight{padding-block:calc(var(--section)*.6)}
.panel{background:var(--ivory-warm)}
.rule{height:1px;background:var(--hairline);border:0;margin:0}

.eyebrow{
  font-family:var(--sans);
  font-size:.688rem;
  font-weight:500;
  letter-spacing:.26em;
  text-transform:uppercase;
  color:var(--taupe);
  margin:0 0 1.6rem;
  line-height:1.6;
}
.lede{
  font-size:clamp(1.063rem,1.35vw,1.188rem);
  line-height:1.72;
  color:var(--stone);
}

/* Skip link */
.skip{
  position:absolute;left:-9999px;top:0;z-index:200;
  background:var(--ink);color:var(--ivory);
  padding:.75rem 1.25rem;font-size:.813rem;letter-spacing:.1em;text-transform:uppercase;
}
.skip:focus{left:1rem;top:1rem}

:focus-visible{outline:1px solid var(--espresso-d);outline-offset:4px}

/* ==========================================================================
   Monogram  (set in the page's own webfont — crisp at any size, recolorable)
   ========================================================================== */
/* The nested mark: the B tucked into the S so the two read as one shape,
   with DESIGNS letterspaced beneath. Set in the page's own serif rather than
   drawn as an image — crisp at any size, recolours itself, nothing to
   re-export if it ever changes. */
.monogram{display:inline-flex;flex-direction:column;align-items:center;gap:.42em;line-height:1}
.monogram__sb{
  font-family:var(--serif);
  font-size:var(--mono-size,1.75rem);
  letter-spacing:-.155em;     /* the nest */
  padding-right:.155em;       /* puts back the trailing track, so it stays centred */
  color:var(--taupe);
  line-height:.88;
  display:block;
}
.monogram__sb span{letter-spacing:0}
.monogram__word{
  font-family:var(--sans);
  /* The ratio alone would put this at under 4px in the header, which is not a
     word any more. The floor keeps it legible wherever the mark is used. */
  font-size:max(.5rem, calc(var(--mono-size,1.75rem)*.24));
  font-weight:600;
  letter-spacing:.34em;
  text-indent:.34em;          /* re-centre against the trailing tracking */
  text-transform:uppercase;
  color:var(--taupe);
  line-height:1;
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-head{
  position:sticky;top:0;z-index:100;
  background:color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter:saturate(1.1) blur(14px);
  -webkit-backdrop-filter:saturate(1.1) blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .5s var(--ease), background .5s var(--ease);
}
.site-head.is-stuck{border-bottom-color:var(--hairline)}

/* backdrop-filter makes an element the containing block for its
   position:fixed descendants. While the mobile menu is open the panel must be
   fixed to the VIEWPORT, not to the header, so the filter comes off for as
   long as the menu is open. Without this the panel is clipped to the header
   and the links spill over the photograph beneath. */
.site-head.is-nav-open{
  background:transparent;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  border-bottom-color:transparent;
}
.site-head__inner{
  display:flex;align-items:center;justify-content:space-between;gap:2rem;
  min-height:clamp(6rem,8.5vw,7.5rem);
}
.site-head .monogram{--mono-size:clamp(2.6rem,3.9vw,3.6rem)}

.nav{display:flex;align-items:center;gap:clamp(1.75rem,3.4vw,3.25rem)}
.nav a{
  font-size:.75rem;font-weight:500;
  letter-spacing:.2em;text-transform:uppercase;
  color:var(--stone);
  padding-block:.4rem;
  position:relative;
  transition:color .4s var(--ease);
}
.nav a::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:1px;
  background:var(--espresso-d);
  transform:scaleX(0);transform-origin:right;
  transition:transform .45s var(--ease);
}
.nav a:hover,.nav a[aria-current="page"]{color:var(--espresso-d)}
.nav a:hover::after,.nav a[aria-current="page"]::after{transform:scaleX(1);transform-origin:left}

.nav-toggle{display:none;width:2.5rem;height:2.5rem;margin-right:-.5rem;position:relative;z-index:110}
/* Keep the monogram above the open panel so the header still reads as a header. */
.site-head.is-nav-open .monogram{position:relative;z-index:110}
.nav-toggle span{display:block;width:22px;height:1px;background:var(--espresso-d);margin:5px auto;transition:transform .4s var(--ease),opacity .25s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

@media (max-width:48rem){
  .nav-toggle{display:block}
  .nav{
    position:fixed;inset:0;
    background:var(--ivory);
    flex-direction:column;justify-content:center;align-items:center;
    gap:1.5rem;
    padding:5.5rem 1.5rem 2rem;   /* clears the header, nothing more */
    opacity:0;visibility:hidden;
    transition:opacity .45s var(--ease),visibility .45s;
  }
  .nav.is-open{opacity:1;visibility:visible}
  .nav a{
    font-size:1.5rem;font-family:var(--serif);
    letter-spacing:.06em;text-transform:none;color:var(--espresso-d);
    padding-block:.25rem;
  }
  /* A short phone in landscape has very little height — let the panel scroll
     rather than centre items off the top of the screen. */
  @media (max-height:28rem){
    .nav{justify-content:flex-start;gap:1rem;overflow-y:auto}
    .nav a{font-size:1.25rem}
  }
}

/* ==========================================================================
   Hero — asymmetric split. The photograph leads; the title sits beside it.
   ========================================================================== */
/* --------------------------------------------------------------------------
   Opening banner — a single photograph the full width of the window, with the
   page beginning beneath it. Sits directly under the header, no gap.
   -------------------------------------------------------------------------- */
.banner{
  margin:0;
  margin-inline:calc(50% - 50vw);
  width:100vw;
  background:var(--linen);
}
.banner img{
  width:100%;
  /* The source is a portrait photograph. A 21:9 letterbox shows only about a
     third of its height, which is not enough to hold the branches at the top
     AND the dog in the middle — so the banner is taller than a cinematic crop,
     and positioned high to keep the leaves in frame. */
  aspect-ratio:3/2;
  object-fit:cover;
  object-position:50% 12%;
}
/* On a phone a 21:9 crop is a sliver, so the frame opens up and the subject
   keeps its room. Same picture, a crop chosen for the shape of the screen. */
@media (max-width:52rem){
  .banner img{aspect-ratio:4/3}
}
@media (max-width:30rem){
  .banner img{aspect-ratio:1/1}
}

.hero{padding-block:clamp(3rem,7vw,6.5rem) var(--section)}

/* The home page opens on a full-width photograph, so the copy beneath it runs
   as a single column rather than beside a portrait. */
.hero--banner{padding-block:clamp(2.5rem,5vw,4.5rem) var(--section)}
.hero__single{max-width:58rem}
.hero--banner .hero__copy{padding-block:0}
/* The home banner is a near-square frame (1024x846) cropped to 3:2, so about a
   fifth of its height has to go. Sitting the crop low keeps the coffee table
   and the rug whole in the foreground while still holding the island, the
   pendants and the transom windows at the top. Centring it cuts the table. */
.banner--home img{object-position:50% 58%}
.hero__grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);
  gap:clamp(2.5rem,5.5vw,5.5rem);
  align-items:center;
}
.hero__figure{position:relative;margin:0}
.hero__figure img{
  width:100%;
  aspect-ratio:5/6;
  object-fit:cover;
  object-position:50% 32%;
  background:var(--linen);
}
.hero__copy{padding-block:clamp(0rem,2vw,2rem)}
.hero h1{margin-bottom:1.5rem}
.hero h1 em{display:block;font-style:italic;color:var(--stone)}

/* Nameplate — the sans, uppercase and widely tracked, after the way Studio
   Athena Calderone sets its name. Theirs is Engravers Gothic Bold at 14px with
   0.8em of tracking; that face is capitals-only and unavailable here, so this
   is Instrument Sans carrying the same character. It is set larger than 14px
   because it has to hold the right-hand column of a two-column hero rather
   than sit in a narrow centred stack. */
.nameplate{
  font-family:var(--sans);
  font-weight:600;
  font-size:clamp(1.15rem,2.5vw,1.85rem);
  letter-spacing:.38em;
  /* No text-indent here. It would only compensate for the trailing track if
     the type were centred; left-aligned it indents the FIRST line alone, so
     the heading's second line and the copy beneath it fall out of alignment. */
  text-transform:uppercase;
  line-height:1.85;
  color:var(--espresso-d);
  margin:0;
}
.nameplate span{display:block}

/* The hero carries the same mark a size up — it is the first thing on the
   site. The second line is set in the taupe so the name still leads. */
.nameplate--hero{font-size:clamp(1.2rem,2.7vw,2.05rem)}
/* SABRINA BENNARDO / DESIGNS is the name, in the espresso — the same two-part
   lockup as the monogram. The tagline below it drops to the taupe and takes a
   little air, so the name reads first. */
.nameplate--hero .nameplate__tag{color:var(--taupe);margin-top:.5em}
/* Measured: BENNARDO is 103px of text in a 256px column on a 320px phone, so
   the full tracking holds at every width and needs no mobile exception. */
.hero__rule{width:3.5rem;height:1px;background:var(--espresso-d);opacity:.45;margin:0 0 1.75rem}
.hero__copy .lede{max-width:28rem}

@media (max-width:52rem){
  .hero__grid{grid-template-columns:1fr;gap:2.5rem}
  .hero__figure{order:-1;margin-inline:calc(var(--gutter)*-1)}
  .hero__figure img{aspect-ratio:4/3;object-position:50% 28%}
}

/* ==========================================================================
   Statement
   ========================================================================== */
.statement{text-align:center}
.statement p{
  font-family:var(--serif);
  font-size:clamp(1.75rem,3.9vw,3.1rem);
  line-height:1.2;
  letter-spacing:-.012em;
  color:var(--espresso-d);
  max-width:24ch;
  margin-inline:auto;
  text-wrap:balance;
}
/* The second half of the statement: the same thought at reading size, so the
   display line keeps its force instead of becoming a paragraph set in 50px. */
/* The statement set in the nameplate's voice — Instrument Sans, uppercase,
   tracked — rather than the display serif. Tracking is eased well below the
   nameplate's .38em: that works for a two-word name, but across a sentence it
   would stop reading as prose. Outranks `.statement p`, which is (0,1,1). */
.statement .statement__line{
  font-family:var(--sans);
  font-weight:500;
  font-size:clamp(1.05rem,1.95vw,1.5rem);
  line-height:1.85;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--espresso-d);
  max-width:30ch;
  margin-inline:auto;
  text-wrap:pretty;
}

.statement cite{
  display:block;margin-top:2.25rem;
  font-family:var(--sans);font-style:normal;
  font-size:.688rem;letter-spacing:.26em;text-transform:uppercase;color:var(--taupe);
}

/* ==========================================================================
   Image sequence — wide plate, then an offset detail
   ========================================================================== */
.plate{margin:0}
.plate img{width:100%;background:var(--linen)}
.plate--wide img{aspect-ratio:16/9;object-fit:cover}
.plate--full{margin-inline:calc(50% - 50vw);width:100vw}
/* A statement plate: centred, generous margins, shown uncropped. */
.plate--statement{max-width:46rem;margin-inline:auto}
/* The About page's single photograph: full width of its column, own proportions. */
.plate--about img{width:100%;height:auto;display:block}
.plate--about figcaption{margin-top:1.1rem}
.plate--statement figcaption{text-align:center;max-width:none;margin-top:1.4rem}

.caption{
  font-size:.75rem;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:var(--taupe);
  margin-top:1.1rem;
  line-height:1.65;
  max-width:26rem;
}

/* offset pair: a large plate with a smaller detail stepping off it */
.offset{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:clamp(1.5rem,3vw,2.5rem) clamp(1.5rem,3.5vw,3rem);
  align-items:end;
}
.offset__major{grid-column:1 / span 7}
.offset__minor{grid-column:9 / span 4;margin-bottom:clamp(2rem,7vw,6rem)}
.offset--flip .offset__major{grid-column:6 / span 7}
.offset--flip .offset__minor{grid-column:1 / span 4}
/* The major plate is shown at the photograph's own proportions, like the
   statement plate and the gallery. It used to be locked to 4:3 and cropped,
   which was fine while every image here was landscape; a portrait photograph
   lost half its height to it, and with it the thing that made the picture
   worth using. Landscape frames are unaffected — they simply keep their own
   ratio instead of being squared up to 4:3. */
.offset__major img{display:block;height:auto}
.offset__minor img{aspect-ratio:4/5;object-fit:cover}
.offset__note{grid-column:1 / span 5;align-self:start}

.offset--flip .offset__note{grid-column:8 / span 5}

/* The note titles carry the same mark as the name — Instrument Sans, semibold,
   uppercase, tracked at the nameplate's .38em — so headings on the site speak
   in one voice rather than two. Sized to sit clearly above the caption beneath
   the photograph and below the hero nameplate: these are subheadings inside
   the page, not the name of the practice. 600 is the heaviest Instrument Sans
   weight the site loads, and is what the nameplate uses.
   Measured on a 375px phone at the 1.2rem floor: the longest word, RESTRAINT,
   renders 173px against a 311px column, so the full tracking holds inside the
   gutters and the titles wrap at spaces rather than overflow. */
.offset__note h3{
  font-family:var(--sans);
  font-weight:600;
  font-size:clamp(1.2rem,2.4vw,1.6rem);
  letter-spacing:.38em;
  text-transform:uppercase;
  line-height:1.5;
  color:var(--espresso-d);
}

@media (max-width:52rem){
  .offset__major,.offset__minor,.offset__note,
  .offset--flip .offset__major,.offset--flip .offset__minor,.offset--flip .offset__note{
    grid-column:1 / -1;
  }
  .offset__minor{margin-bottom:0;max-width:70%}
  .offset--flip .offset__minor{margin-left:auto}
}

/* ==========================================================================
   Feature (Hammerton)
   ========================================================================== */
.feature__grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  gap:clamp(2.5rem,5vw,4.5rem);
  align-items:center;
}
.feature__media{display:grid;gap:1rem;margin:0}
.feature__media:has(img:nth-child(2)){grid-template-columns:1fr 1fr}
.feature__media img{width:100%;aspect-ratio:4/5;object-fit:cover;background:var(--linen)}
.feature__media:has(img:nth-child(2)) img{aspect-ratio:3/4}
blockquote{
  margin:0;
  font-family:var(--serif);
  font-size:clamp(1.3rem,2.1vw,1.75rem);
  line-height:1.38;
  color:var(--espresso-d);
  letter-spacing:-.008em;
}
blockquote footer{
  font-family:var(--sans);
  font-size:.688rem;letter-spacing:.26em;text-transform:uppercase;
  color:var(--taupe);margin-top:1.75rem;
}
@media (max-width:52rem){.feature__grid{grid-template-columns:1fr}}

/* ==========================================================================
   Links & buttons
   ========================================================================== */
.link{
  display:inline-block;
  font-size:.75rem;font-weight:500;
  letter-spacing:.2em;text-transform:uppercase;
  color:var(--espresso-d);
  padding-bottom:.45rem;
  border-bottom:1px solid var(--hairline);
  transition:border-color .45s var(--ease),color .45s var(--ease);
}
.link:hover{border-bottom-color:var(--espresso-d)}
.btn{
  display:inline-block;
  font-size:.75rem;font-weight:500;letter-spacing:.2em;text-transform:uppercase;
  padding:1.05rem 2.4rem;
  background:var(--espresso-d);color:var(--ivory);
  border:1px solid var(--espresso-d);
  transition:background .45s var(--ease),color .45s var(--ease);
}
.btn:hover{background:transparent;color:var(--espresso-d)}

/* ==========================================================================
   Gallery
   ========================================================================== */
/* Stacked: one photograph per row, each shown at its own proportions rather
   than cropped to fit a tile. The `size` values in data.js (g-wide, g-two and
   the rest) are left in place but no longer govern the layout — they are what
   a composed multi-column grid would use, so the old arrangement can be
   restored by reinstating the column rules below. */
.gallery{
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(2.75rem,6vw,5.5rem);
  max-width:74rem;
  margin-inline:auto;
}
.gallery figure{margin:0;position:relative}
.gallery button.tile{
  display:block;width:100%;padding:0;text-align:left;
  background:var(--linen);overflow:hidden;
}
.gallery img{
  display:block;width:100%;height:auto;
  transition:transform 1.1s var(--ease),filter .7s var(--ease);
}
.gallery button.tile:hover img{transform:scale(1.02)}
.gallery figcaption{
  font-size:.75rem;letter-spacing:.11em;text-transform:uppercase;
  color:var(--taupe);margin-top:1.1rem;
}
/* the composed-grid classes are inert while the gallery is stacked */
.g-wide,.g-two,.g-major,.g-minor,.g-third,.g-inset{grid-column:1 / -1}
.g-shift{margin-top:0}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox{
  position:fixed;inset:0;z-index:300;
  background:color-mix(in srgb, var(--ink) 95%, transparent);
  display:grid;place-items:center;
  padding:clamp(1rem,4vw,3rem);
  opacity:0;visibility:hidden;
  transition:opacity .45s var(--ease),visibility .45s;
}
.lightbox.is-open{opacity:1;visibility:visible}
.lightbox img{
  max-width:100%;max-height:78vh;width:auto;object-fit:contain;
  box-shadow:0 2.5rem 5rem rgba(0,0,0,.35);
}
.lightbox__cap{
  margin-top:1.5rem;text-align:center;
  font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--linen);opacity:.8;
}
.lightbox__btn{
  position:absolute;top:50%;transform:translateY(-50%);
  width:3.5rem;height:3.5rem;color:var(--ivory);opacity:.55;
  display:grid;place-items:center;font-size:1.5rem;
  transition:opacity .3s;
}
.lightbox__btn:hover{opacity:1}
.lightbox__prev{left:clamp(.5rem,2vw,2rem)}
.lightbox__next{right:clamp(.5rem,2vw,2rem)}
.lightbox__close{top:clamp(1rem,3vw,2rem);right:clamp(1rem,3vw,2rem);transform:none}

/* ==========================================================================
   Contact
   ========================================================================== */
/* One column. The photograph at the top of the page is the only picture here
   now, so the contact details run beneath it with the address carrying the
   weight that the second image used to. */
.contact__body{max-width:62rem}

.detail{border-top:1px solid var(--hairline);padding-block:1.5rem}
.detail dt{
  font-size:.688rem;letter-spacing:.26em;text-transform:uppercase;
  color:var(--taupe);margin-bottom:.5rem;
}
.detail dd{margin:0;font-size:1.063rem;color:var(--espresso-d)}
.detail dd a{border-bottom:1px solid var(--hairline);padding-bottom:1px;transition:border-color .4s}
.detail dd a:hover{border-bottom-color:var(--espresso-d)}

/* The address, in the sans and all lowercase.

   Studio Athena Calderone set their labels in Engravers Gothic — wide, airy,
   heavily tracked. That face is capitals only, so it cannot be used lowercase.
   What carries across is its character rather than its outlines: the open
   tracking and the calm, and Instrument Sans at a light weight does that
   without introducing a third typeface to the site.

   text-transform keeps it lowercase whatever is typed into data.js later.

   One departure from the reference: an address with no underline at all gives
   a visitor nothing to say it can be clicked, so a hairline draws in on hover
   and on keyboard focus. At rest it is bare, exactly as theirs is. */
/* The h1 wrapping the address carries no display styling of its own — it is a
   heading for machines, a line of text for people. */
.email-heading{
  margin:0;
  font-family:var(--sans);
  font-size:1rem;
  font-weight:400;
  line-height:1;
  letter-spacing:normal;
  color:inherit;
}

.email-cta{
  display:inline-block;
  font-family:var(--sans);
  /* Set large: it is the page's one instruction, and with the second
     photograph gone it is what fills the space.

     The address is 23 characters that should not break across two lines, so
     the size tracks the viewport closely at the narrow end. Measured: it fits
     on one line at 320px, 360px and 375px with room to spare, and caps at 48px
     so it does not become a billboard on a wide screen. */
  font-size:clamp(1.05rem,5.6vw,3rem);
  font-weight:400;
  line-height:1.25;
  letter-spacing:.055em;   /* eased off — tracking that suits 18px shouts at 48px */
  text-transform:lowercase;
  color:var(--espresso-d);
  word-break:break-word;
  padding-bottom:.35rem;
  background-image:linear-gradient(var(--taupe),var(--taupe));
  background-repeat:no-repeat;
  background-position:0 100%;
  background-size:0 1px;
  transition:background-size .5s var(--ease);
}
.email-cta:hover,
.email-cta:focus-visible{background-size:100% 1px}
/* On a phone the tracking is what would push it onto a second line, and at
   that size the air is not doing much work anyway. */
@media (max-width:30rem){
  .email-cta{letter-spacing:.02em}
}
@media (prefers-reduced-motion:reduce){.email-cta{transition:none}}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-foot{background:var(--ink);color:var(--linen);padding-block:clamp(3.5rem,7vw,5.5rem)}
.site-foot .monogram{--mono-size:clamp(3.6rem,5.6vw,5.2rem)}
/* Same taupe, lifted for the dark ground — #958A7E on ink is 4.6:1, readable
   but flat; this reads as the same colour and carries. */
.site-foot .monogram__sb{color:var(--taupe-light)}
.site-foot .monogram__word{color:var(--taupe-light);opacity:.72}
.site-foot__inner{
  display:flex;flex-wrap:wrap;gap:2.5rem 3rem;
  align-items:flex-start;justify-content:space-between;
}
.site-foot nav{display:flex;flex-direction:column;gap:.9rem}
.site-foot a{
  font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--linen);opacity:.72;transition:opacity .4s var(--ease);
}
.site-foot a:hover{opacity:1}
.site-foot__fine{
  margin-top:clamp(3rem,6vw,4.5rem);padding-top:1.75rem;
  border-top:1px solid rgba(232,222,210,.16);
  display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content:space-between;
  font-size:.688rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--linen);opacity:.5;
}

/* ==========================================================================
   Motion — subtle, and fully disabled on request
   ========================================================================== */
.reveal{opacity:0;transform:translateY(1.75rem)}
.reveal.is-in{
  opacity:1;transform:none;
  transition:opacity 1.1s var(--ease),transform 1.1s var(--ease);
}
.reveal-d1.is-in{transition-delay:.1s}
.reveal-d2.is-in{transition-delay:.2s}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1!important;transform:none!important;transition:none!important}
  .gallery img,.lightbox,.nav{transition:none!important}
}

/* ==========================================================================
   404
   ========================================================================== */
.oops{min-height:60vh;display:grid;place-items:center;text-align:center}
