/* Thornwake concept study — the "Noir" direction, Figma board version 1.4.
 *
 * Loaded only by /work/thornwake/. The study is dressed in the fictional
 * client's identity, so it shares nothing with site.css: its own palette and
 * type (Cormorant Garamond for display, Instrument Serif for text, Jost for
 * labels, Bodoni Moda only in the drawn Thornwake logo), no script.
 *
 * Sizes come straight from the Figma board, which is drawn 1200px wide. They
 * are written as multiples of --px, one board pixel: 1px up to a 1200px
 * window, growing with the window to 1.2px at 1440 (the width the rest of the
 * site is designed at), then fixed.
 *
 * Colour: version 1.4 darkened the board's small champagne text to #85662F,
 * 4.5:1 on paper, so the board colours are used as drawn. The only text the
 * board does not have — the disclaimer — is set in a darkened taupe. */

/* Served from this site (latin subset, Google's own files and descriptors).
   Cormorant Garamond and Jost are variable: one file covers every weight.
   Licences: /assets/fonts/LICENSE.txt. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond.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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url(/assets/fonts/cormorant-garamond-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: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif.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: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-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: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/bodoni-moda.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: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(/assets/fonts/jost.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;
}


:root {
  --onyx: #0F0E0C;
  --paper: #EDEDEA;
  --bone: #ECE5D8;
  --ivory: #F6F2EA;
  --white: #FAFAF8;
  --champagne: #BE9E6C;
  --champagne-ink: #85662F; /* 4.5:1 on paper, 5.1:1 on white */
  --frame: #9C7B47;
  --taupe: #8B8173;
  --taupe-ink: #6C655A;     /* 4.9:1 on paper */
  --forest: #15241F;

  --px: clamp(1px, 100vw / 1200, 1.2px);
  --serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --text: 'Instrument Serif', Georgia, serif;
  --sans: 'Jost', 'Futura', system-ui, sans-serif;
  --logo: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  /* «ARE Works.» is set in Times on the board, as on the rest of the site:
     every Mac and Windows machine has Times New Roman; elsewhere the system
     serif stands in. */
  --times: 'Times New Roman', Times, 'Liberation Serif', serif;
  --gutter: calc(48 * var(--px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--onyx);
  font-family: var(--text); font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, figure, ol { margin: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 10px 14px; background: var(--onyx); color: var(--ivory);
  font: 400 13px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Frame ---------- */
/* The board: hairlines run 48px in from its edge, content 62px. */
.tw-frame { max-width: calc(1200 * var(--px)); margin: 0 auto; padding: 0 var(--gutter); }
.tw-inner { padding: 0 calc(14 * var(--px)); }
.tw-rule { height: 1px; margin: 0; border: 0; background: var(--onyx); }
.tw-dark { background: var(--onyx); color: var(--bone); }
.tw-dark .tw-rule { background: var(--champagne); }

/* ---------- Type ---------- */
.tw-label {
  font-family: var(--sans); font-weight: 400; text-transform: uppercase;
  font-size: max(10.5px, calc(9.5 * var(--px))); letter-spacing: 0.32em;
  /* The board's 12px line, kept when the type is held at 10.5px to stay legible. */
  line-height: calc(12.35 * var(--px));
  color: var(--onyx);
}
.tw-dark .tw-label { color: var(--ivory); }
.tw-eyebrow { font-weight: 500; color: var(--champagne-ink); }
.tw-dark .tw-eyebrow { font-weight: 400; }
.tw-dark .tw-eyebrow, .tw-dark .tw-dec-n { color: var(--champagne); }
.tw-label a { text-decoration: none; }
.tw-label a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tw-times { font-family: var(--times); }

/* Display lines: Cormorant Garamond Medium; the second, italic line is
   SemiBold in the 40–43px headings and Medium in the 46px ones. */
.tw-h { font-family: var(--serif); font-weight: 500; }
.tw-h em { display: block; font-style: italic; font-weight: 600; color: var(--champagne-ink); }
.tw-dark .tw-h em { font-weight: 500; color: var(--champagne); }
.tw-h-46 { font-size: calc(46 * var(--px)); line-height: 1.1; }
.tw-h-43 { font-size: calc(43.5 * var(--px)); line-height: 1.12; }
.tw-h-40 { font-size: calc(40.5 * var(--px)); line-height: 1.12; }
.tw-h-31 { font-size: calc(31 * var(--px)); line-height: 1.15; }
.tw-h-26 { font-size: calc(26.5 * var(--px)); line-height: 1.18; }
.tw-caps { text-transform: uppercase; }

.tw-body-21 { font-size: calc(21 * var(--px)); line-height: 1.5; }
.tw-body-18 { font-size: calc(18 * var(--px)); line-height: 1.6; }
.tw-body-16 { font-size: calc(16 * var(--px)); line-height: 1.6; }
.tw-accent { color: var(--champagne-ink); }
.tw-body-18 em { font-style: italic; }

/* ---------- Header ---------- */
.tw-run {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
  /* The links carry 6px above and below to be big enough to hit. */
  padding: calc(21 * var(--px) - 6px) var(--gutter) calc(14 * var(--px) - 6px);
  border-bottom: 1px solid var(--champagne);
}
.tw-crumb a { display: inline-block; padding: 6px 0; }
.tw-run-mid { text-align: center; }
.tw-nav { display: flex; justify-content: flex-end; flex-wrap: wrap; column-gap: 0.3em; }
.tw-nav a { display: inline-block; padding: 6px 0; text-decoration: none; }
.tw-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Section rhythm ---------- */
.tw-runhead { padding: calc(21 * var(--px)) var(--gutter) calc(14 * var(--px)); text-align: center; }
.tw-center-intro { display: grid; justify-items: center; gap: calc(14 * var(--px)); text-align: center; padding-top: calc(51 * var(--px)); }

/* 01 · The concept */
.tw-concept { padding-bottom: calc(92 * var(--px)); }
.tw-concept-head {
  display: grid; grid-template-columns: 528fr 109.5fr 350fr 88.5fr; align-items: start;
  padding-top: calc(42.5 * var(--px));
}
.tw-intro { display: grid; justify-items: center; gap: calc(22 * var(--px)); text-align: center; }
.tw-aside { grid-column: 3; padding-top: calc(39.5 * var(--px)); text-align: center; }
.tw-aside .tw-body-18 { line-height: 1.55; }
/* Not on the board: the study says plainly that the firm is invented. */
.tw-disclaimer {
  margin-top: calc(8 * var(--px)); font-family: var(--sans); font-weight: 300;
  font-size: max(12px, calc(11.5 * var(--px))); line-height: 1.4; color: var(--taupe-ink);
}

.tw-fig { display: grid; }
.tw-caption { margin-top: calc(34 * var(--px)); text-align: center; }
.tw-fig-framed { margin-top: calc(50.5 * var(--px)); }
.tw-fig-framed .tw-mock { outline: 1px solid var(--frame); outline-offset: calc(6 * var(--px)); }

/* ---------- Mockup parts (Thornwake's own site, drawn) ---------- */
.tw-mock { position: relative; color: var(--ivory); }
.tw-mini {
  display: block; font-family: var(--sans); font-weight: 400; text-transform: uppercase;
  font-size: calc(7.5 * var(--px)); letter-spacing: 0.32em; line-height: 1.3; color: var(--champagne);
}
.tw-mini-ink { font-weight: 500; color: var(--champagne-ink); }
.tw-mini-onyx { color: var(--onyx); }
.tw-logo { display: flex; flex-direction: column; align-items: center; gap: calc(4 * var(--px)); }
.tw-logo-name {
  font-family: var(--logo); font-size: calc(19 * var(--px)); letter-spacing: 0.34em; margin-right: -0.34em;
  text-transform: uppercase; line-height: 1.2; color: var(--ivory);
}
.tw-arrow { color: var(--champagne); }
.tw-mock-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: calc(22 * var(--px));
  font-family: var(--sans); font-weight: 400; text-transform: uppercase;
  font-size: calc(9.5 * var(--px)); letter-spacing: 0.32em; line-height: 1.3; color: var(--ivory);
}
.tw-mock-btn-outline { height: calc(38 * var(--px)); padding: 0 calc(27 * var(--px)); border: 1px solid var(--champagne); }
.tw-mock-btn-forest { background: var(--forest); }

/* Proposed homepage */
/* width: 100% is not redundant. A grid item with an aspect ratio does not
   stretch: its width is derived from its height, so the 391px min-height made
   it 1076px wide and pushed it off a 1024px screen. */
.tw-home { width: 100%; aspect-ratio: 1076 / 391; min-height: calc(391 * var(--px)); overflow: hidden; background: var(--onyx); }
.tw-home-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tw-home::before, .tw-home::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tw-home::before {
  background: linear-gradient(90deg, rgb(21 36 31 / .97) 0%, rgb(21 36 31 / .90) 34%, rgb(21 36 31 / 0) 62%);
}
.tw-home::after { background: radial-gradient(closest-side, rgb(15 14 12 / 0) 55%, rgb(15 14 12 / .38) 100%); }
.tw-home-copy {
  position: absolute; z-index: 2; top: 0; bottom: 0; left: 4.09%; width: 31.6%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.tw-home-copy .tw-logo { gap: calc(4 * var(--px)); }
.tw-home-eyebrow { margin-top: calc(30 * var(--px)); }
.tw-home-h {
  display: block; margin-top: calc(12 * var(--px));
  font-family: var(--serif); font-weight: 500; font-size: calc(46 * var(--px)); line-height: 1.1;
}
.tw-home-h em { display: block; font-style: italic; color: var(--champagne); }
.tw-home-sub { display: block; margin-top: calc(14 * var(--px)); font-size: calc(13 * var(--px)); line-height: 1.55; }
.tw-home .tw-mock-btn { margin-top: calc(20 * var(--px)); }

/* 02 · One project */
.tw-project { padding-bottom: calc(100 * var(--px)); }
.tw-project .tw-fig { margin-top: calc(36 * var(--px)); }
.tw-page { background: var(--white); outline: 1px solid var(--onyx); outline-offset: -1px; }
.tw-page-bar {
  position: relative; display: flex; align-items: center;
  height: calc(57 * var(--px)); padding: 0 calc(25 * var(--px)); background: var(--forest);
}
.tw-page-bar .tw-logo { gap: calc(3 * var(--px)); }
.tw-page-bar .tw-logo-name { color: var(--champagne); }
.tw-page-links {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  font-family: var(--sans); font-weight: 400; text-transform: uppercase; font-size: calc(9.5 * var(--px));
  letter-spacing: 0.32em; line-height: 1.3; color: var(--ivory);
}
.tw-page-main { display: grid; grid-template-columns: 648fr 428fr; height: calc(284 * var(--px)); }
.tw-page-photo { position: relative; overflow: hidden; }
.tw-page-photo img { width: 100%; height: 100%; object-fit: cover; }
.tw-page-photo::before, .tw-page-photo::after { content: ""; position: absolute; }
.tw-page-photo::before { inset: 0; background: radial-gradient(closest-side, rgb(15 14 12 / 0) 55%, rgb(15 14 12 / .34) 100%); }
.tw-page-photo::after { inset: calc(7 * var(--px)); border: 1px solid var(--champagne); }
.tw-page-story {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(14 * var(--px));
  padding: 0 calc(14 * var(--px)); background: var(--paper); color: var(--forest); text-align: center;
}
.tw-page-story .tw-mini { font-weight: 500; color: var(--champagne-ink); }
.tw-page-h { display: block; font-family: var(--serif); font-weight: 500; font-size: calc(40.5 * var(--px)); line-height: 1.12; }
.tw-page-h em { display: block; font-style: italic; font-weight: 600; color: var(--champagne-ink); }
.tw-page-sub { display: block; font-size: calc(13 * var(--px)); line-height: 1.55; color: var(--onyx); }
.tw-notes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(30 * var(--px));
  padding: calc(30 * var(--px)) calc(30 * var(--px)) calc(40 * var(--px));
}
.tw-note { display: flex; flex-direction: column; align-items: center; gap: calc(10 * var(--px)); text-align: center; }
.tw-note .tw-mini { font-weight: 500; color: var(--champagne-ink); }
.tw-note-h { font-family: var(--serif); font-weight: 500; font-size: calc(19.5 * var(--px)); line-height: 1.25; color: var(--forest); }
.tw-note-p { font-size: calc(13 * var(--px)); line-height: 1.55; color: var(--onyx); }

/* 03 · Three decisions */
.tw-decisions { padding-bottom: calc(38 * var(--px)); }
.tw-decisions .tw-center-intro .tw-h { color: var(--bone); }
.tw-dec-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(28 * var(--px));
  margin-top: calc(36 * var(--px)); padding: 0; list-style: none;
}
.tw-dec {
  display: flex; flex-direction: column; align-items: center; gap: calc(18 * var(--px));
  padding-top: calc(18 * var(--px)); border-top: 1px solid var(--champagne); text-align: center;
}
.tw-dec .tw-h { color: var(--bone); }
.tw-card {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: calc(228 * var(--px)); border: 1px solid var(--champagne); background: var(--onyx);
}
.tw-oval {
  display: block; width: calc(186 * var(--px)); height: calc(214 * var(--px));
  padding: calc(6 * var(--px)); border: 1px solid var(--champagne); border-radius: 50%;
}
.tw-oval img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* The medallions: the oval is a box with its copy, so the text has a real
   ground; the ring, the band and the lettering on the curve are an SVG
   drawing laid over it. */
.tw-medal { position: relative; display: block; width: calc(186 * var(--px)); height: calc(214 * var(--px)); }
.tw-medal-face {
  position: absolute; inset: calc(7 * var(--px)); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding-top: calc(5 * var(--px));
}
.tw-face-forest { background: var(--forest); }
.tw-face-ivory { background: var(--ivory); }
.tw-medal-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tw-medal-ring { fill: none; stroke: var(--champagne); stroke-width: 1; }
.tw-band { stroke: var(--champagne); stroke-width: 1.2; }
.tw-arc { font-family: var(--sans); font-weight: 400; font-size: 7.5px; text-anchor: middle; }
.tw-arc-band { font-size: 7px; }
.tw-paint-forest { fill: var(--forest); }
.tw-paint-ivory { fill: var(--ivory); }
.tw-paint-onyx { fill: var(--onyx); }
.tw-paint-champagne { fill: var(--champagne); }
.tw-paint-champagne-ink { fill: var(--champagne-ink); }
.tw-medal-copy {
  display: block; text-align: center;
  font-family: var(--serif); font-weight: 500; font-size: calc(18.5 * var(--px)); line-height: 1.18;
}
.tw-card-h { color: var(--ivory); }
.tw-card-h em { display: block; font-style: italic; color: var(--champagne); }
.tw-card-q { color: var(--forest); }

.tw-rule-inner { margin-top: calc(51 * var(--px)); background: var(--champagne); }
.tw-search { display: grid; justify-items: center; gap: calc(12 * var(--px)); padding: calc(21 * var(--px)) 0 calc(25 * var(--px)); text-align: center; }
.tw-search .tw-h { color: var(--champagne); }

/* 04 · Inquiry */
.tw-inquiry { padding-bottom: calc(44 * var(--px)); }
.tw-inquiry-grid { display: grid; grid-template-columns: 490fr 57fr 529fr; align-items: center; padding-top: calc(44 * var(--px)); }
.tw-next { display: grid; justify-items: center; text-align: center; }
.tw-next .tw-h { margin-top: calc(14 * var(--px)); }
.tw-next .tw-body-18 { margin-top: calc(13 * var(--px)); line-height: 1.55; }
.tw-form-fig { grid-column: 3; }
.tw-form {
  display: flex; flex-direction: column; align-items: center;
  padding: calc(47 * var(--px)) calc(39 * var(--px)) calc(42 * var(--px));
  background: var(--white); border: 1px solid var(--onyx); color: var(--onyx);
}
.tw-form-h { margin-top: calc(10 * var(--px)); font-size: calc(26.5 * var(--px)); text-align: center; color: var(--forest); }
.tw-card-q.tw-form-h { font-family: var(--serif); font-weight: 500; line-height: 1.18; }
.tw-fields {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: calc(27 * var(--px)); row-gap: calc(20 * var(--px));
  width: 100%; margin-top: calc(20 * var(--px)); text-align: left;
}
.tw-field { display: flex; flex-direction: column; gap: calc(6 * var(--px)); }
.tw-field-v {
  display: flex; align-items: center; height: calc(36 * var(--px)); border-bottom: 1px solid var(--onyx);
  font-size: calc(16 * var(--px)); line-height: 1.6;
}
.tw-form-btn { width: calc(160 * var(--px)); height: calc(42 * var(--px)); margin-top: calc(20 * var(--px)); gap: calc(18 * var(--px)); }

/* Closing */
.tw-closing { padding: calc(118.5 * var(--px)) 0 calc(124.5 * var(--px)); }
.tw-closing-grid { display: grid; grid-template-columns: 512fr 81fr 420fr 54.5fr; align-items: start; padding-left: calc(8.5 * var(--px)); }
.tw-closing-left { display: grid; justify-items: center; gap: calc(30 * var(--px)); padding-top: calc(14.5 * var(--px)); text-align: center; }
.tw-closing-left .tw-h { color: var(--bone); }
.tw-sign { font-size: calc(21 * var(--px)); letter-spacing: 0.04em; line-height: 1.2; }
.tw-offer { grid-column: 3; display: grid; justify-items: center; gap: calc(20 * var(--px)); text-align: center; }
.tw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: calc(20 * var(--px));
  width: calc(304 * var(--px)); max-width: 100%; min-height: calc(49 * var(--px)); padding: 0 1rem;
  background: var(--champagne); color: var(--onyx); text-decoration: none;
  font-family: var(--sans); font-weight: 400; text-transform: uppercase; font-size: max(10.5px, calc(9.5 * var(--px))); letter-spacing: 0.32em; line-height: 1.3;
  transition: background-color .2s;
}
.tw-btn .tw-arrow { color: var(--onyx); }
.tw-btn:hover { background: #CDB287; }
.tw-btn:focus-visible { outline-color: var(--champagne); }

/* Footer (not on the board: the site's own, in the study's colours) */
.tw-foot { background: var(--onyx); padding-bottom: calc(28 * var(--px)); }
.tw-foot .tw-rule { background: rgb(190 158 108 / .35); }
.tw-foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 2rem; padding-top: calc(20 * var(--px)); }
.tw-foot .tw-label { color: var(--taupe); }
.tw-foot-nav { display: flex; flex-wrap: wrap; column-gap: 1.6em; }
.tw-foot-nav a { display: inline-block; padding: 6px 0; text-decoration: none; }
.tw-foot-nav a:hover { color: var(--bone); }
.tw-mail { text-transform: none; letter-spacing: 0.12em; }
.social-links { display: flex; align-items: center; gap: 12px; width: max-content; }
.social-links a { display: block; flex: 0 0 26px; width: 26px; height: 26px; padding: 0; border-radius: 50%; }
.social-links img { display: block; width: 26px; height: 26px; }
.social-links a:hover { opacity: .7; }
.tw-socials { justify-content: center; margin: 1rem auto 0; color: var(--bone); }

/* ---------- Tablet and small laptop: 768–999 ---------- */
@media (max-width: 999px) {
  :root { --gutter: 32px; }
  .tw-inner { padding-left: 0; padding-right: 0; }
  .tw-br { display: none; }

  /* Three columns do not fit: the section label goes, the links keep one row. */
  .tw-run { grid-template-columns: auto 1fr; }
  .tw-run-mid { display: none; }

  .tw-concept-head { grid-template-columns: 1fr; justify-items: center; }
  .tw-aside { grid-column: auto; max-width: 30em; padding-top: 28px; }

  .tw-home { aspect-ratio: auto; min-height: 420px; }
  .tw-home-copy { left: 5%; width: 52%; }

  .tw-page-main { grid-template-columns: 58fr 42fr; height: 300px; }
  .tw-note-p { max-width: 24em; }

  .tw-dec-list { grid-template-columns: 1fr; gap: 56px; max-width: 420px; margin-left: auto; margin-right: auto; }

  .tw-inquiry-grid { grid-template-columns: 1fr; justify-items: center; }
  .tw-next { max-width: 34em; }
  .tw-form-fig { grid-column: auto; width: 100%; max-width: 529px; margin-top: 48px; }

  .tw-closing-grid { grid-template-columns: 1fr; gap: 64px; justify-items: center; padding-left: 0; }
  .tw-closing-left { padding-top: 0; }
  .tw-offer { grid-column: auto; max-width: 30em; }
}

/* ---------- Phone: up to 767 ---------- */
@media (max-width: 767px) {
  :root { --gutter: 20px; }

  .tw-run { grid-template-columns: 1fr; justify-items: center; gap: 2px; padding: 14px 0 10px; text-align: center; }
  .tw-nav { justify-content: center; }
  .tw-runhead { padding-left: 0; padding-right: 0; }

  .tw-h-46 { font-size: 38px; }
  .tw-h-43 { font-size: 36px; }
  .tw-h-40 { font-size: 34px; }
  .tw-h-31 { font-size: 28px; }
  .tw-body-18 { font-size: 18px; }
  .tw-body-21 { font-size: 19px; }

  .tw-concept { padding-bottom: 64px; }
  .tw-fig-framed { margin-top: 40px; }
  .tw-fig-framed .tw-mock { outline-offset: 5px; }
  .tw-home { min-height: 440px; }
  .tw-home::before { background: linear-gradient(180deg, rgb(21 36 31 / .93) 0%, rgb(21 36 31 / .84) 60%, rgb(21 36 31 / .7) 100%); }
  .tw-home-copy { left: 0; width: 100%; padding: 32px 20px; }
  .tw-home-h { font-size: 40px; }
  .tw-home-sub { font-size: 15px; }

  .tw-project { padding-bottom: 64px; }
  .tw-page-links { display: none; }
  .tw-page-bar { justify-content: center; }
  .tw-page-main { grid-template-columns: 1fr; height: auto; }
  .tw-page-photo { aspect-ratio: 648 / 284; }
  .tw-page-story { padding: 28px 20px; }
  .tw-page-h { font-size: 34px; }
  .tw-page-sub { font-size: 15px; }
  .tw-notes { grid-template-columns: 1fr; gap: 22px; padding: 24px 20px 28px; }
  .tw-note-h { font-size: 21px; }
  .tw-note-p { font-size: 15px; }

  .tw-dec-list { gap: 48px; }
  .tw-search { padding-bottom: 32px; }

  .tw-inquiry { padding-bottom: 56px; }
  .tw-form { padding: 32px 20px; }
  .tw-form-h { font-size: 23px; }
  .tw-fields { column-gap: 16px; }
  .tw-field-v { font-size: 15px; }

  .tw-closing { padding: 72px 0 80px; }
  .tw-closing-grid { gap: 56px; }

  .tw-foot-row { flex-direction: column; text-align: center; }
  .tw-foot-nav, .tw-socials { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) { .tw-btn { transition: none; } }
