/* Briela Media — brielamedia.com
   Layout: a light ground with a great deal of air. Centred hero in two lines
   (plain, then burgundy italic) between a soft disc and a hairline ring, over
   four round photographs. Circles, pills and hairlines carry the rest. */

/* ---------- Fonts, self-hosted (SIL Open Font License) ----------
   Instrument Sans carries the text. Vollkorn carries the services list, and
   its italic carries the accent: the second line of the hero and the <em>
   word in each heading. */
@font-face {
  font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url("fonts/instrument-sans-latin-ext.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: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url("fonts/instrument-sans-latin.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: "Vollkorn"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url("fonts/vollkorn-latin-ext-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: "Vollkorn"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url("fonts/vollkorn-latin-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: "Vollkorn"; font-style: italic; font-display: swap; font-weight: 400 900;
  src: url("fonts/vollkorn-latin-ext-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;
}
@font-face {
  font-family: "Vollkorn"; font-style: italic; font-display: swap; font-weight: 400 900;
  src: url("fonts/vollkorn-latin-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;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  /* The six brand colours */
  --offwhite: #FAF9F6;   /* ground, and type on burgundy */
  --stone: #CDC9C1;
  --sand: #D1BAA6;
  --brown: #8B6D53;
  --burgundy: #5C1525;   /* buttons, the italic accent, captions, contact panel */
  --charcoal: #1C1C1A;   /* headings and text */

  /* Tints of burgundy and stone, not new colours */
  --blush: #F3E9EC;      /* the soft disc, quiet fills */
  --ring: #D9BBC4;       /* hairline rings, outlined pills and buttons */
  --rule: #E5D8DC;       /* dividing lines */
  --card: #F1EFEB;       /* stone, thinned */
  --muted: #6B5B60;      /* secondary text */
  --on-dark-soft: rgba(250, 249, 246, 0.12);
  --on-dark-ring: rgba(250, 249, 246, 0.34);

  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Vollkorn", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  --gutter: clamp(18px, 6.6vw, 136px);
  --section: clamp(88px, 11vw, 184px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--offwhite);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--burgundy); }
p, figure { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; letter-spacing: -0.035em; }
/* The accent: Vollkorn Italic in burgundy, a touch larger so it sits level with the sans */
h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.08em; letter-spacing: -0.02em; color: var(--burgundy); }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--burgundy); color: var(--offwhite); }

.wrap { max-width: calc(1644px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 20;
  background: var(--charcoal); color: var(--offwhite); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

/* Pill: the outlined tag above a heading */
.pill {
  display: inline-flex; align-items: center; width: fit-content; max-width: 100%;
  padding: 8px 22px; border: 1px solid var(--ring); border-radius: 999px;
  background: var(--offwhite); color: var(--burgundy);
  font-size: clamp(0.9375rem, 1vw, 1.1875rem); line-height: 1.35;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 30px;
  border: 1px solid var(--burgundy); border-radius: 999px;
  background: var(--burgundy); color: var(--offwhite);
  font: 600 1.0625rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--charcoal); border-color: var(--charcoal); }
.btn:active { transform: scale(0.98); }
.btn--outline { background: var(--offwhite); color: var(--burgundy); border-color: var(--ring); font-weight: 500; }
.btn--outline:hover { background: var(--blush); color: var(--burgundy); border-color: var(--ring); }
.btn--light { background: var(--offwhite); color: var(--burgundy); border-color: var(--offwhite); }
.btn--light:hover { background: var(--charcoal); color: var(--offwhite); border-color: var(--charcoal); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  padding-block: clamp(14px, 1.9vw, 36px);
  background: rgba(250, 249, 246, 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; }
.brand { display: block; width: clamp(164px, 14.7vw, 282px); flex: none; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px clamp(18px, 2.2vw, 42px); }
.site-nav a { text-decoration: none; font-size: clamp(0.9375rem, 0.95vw, 1.125rem); color: var(--muted); }
.site-nav a:not(.btn):hover { color: var(--burgundy); }
.site-nav .nav-mail { color: var(--charcoal); font-weight: 600; padding-left: clamp(18px, 2.2vw, 42px); border-left: 1px solid var(--stone); line-height: 1.9; }
.site-nav .btn { color: var(--offwhite); font-size: clamp(0.9375rem, 0.95vw, 1.125rem); min-height: clamp(44px, 3vw, 56px); }
.lang { display: flex; gap: 6px; align-items: center; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); }
.lang a { font-size: inherit; font-weight: 500; }
.lang span[aria-current] { color: var(--burgundy); }

/* ---------- Cover: the opening. The logo, one line, the places. A little over half a screen tall. ---------- */
.cover {
  min-height: clamp(320px, 56vh, 600px); min-height: clamp(320px, 56svh, 600px);
  display: grid; align-content: center; justify-items: center; text-align: center;
  gap: clamp(16px, 2vw, 30px); padding: clamp(40px, 5vw, 72px) var(--gutter);
}
.cover-logo { margin: 0; width: min(100%, clamp(250px, 50vw, 760px)); }
.cover-logo img { width: 100%; height: auto; }
.cover-tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.75rem); line-height: 1.2; }
.cover-places {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin-top: clamp(4px, 0.8vw, 14px);
  color: var(--muted); font-size: clamp(0.875rem, 1.1vw, 1.1875rem); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
}
.cover-btn { margin-top: clamp(10px, 1.4vw, 22px); }
.cover-places li + li::before { content: "\00B7"; margin-inline: clamp(12px, 1.6vw, 26px); color: var(--burgundy); }

/* ---------- The burst: the headline over a cloud of powder ---------- */
.burst {
  background: #580D1B url("assets/photos/powder.jpg") center / cover no-repeat;  /* #580D1B is the photograph's own ground */
  color: var(--offwhite); text-align: center;
  display: grid; align-items: center; min-height: clamp(360px, 56.25vw, 100vh); padding-block: 48px;
}
.burst h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 7.2vw, 6.75rem); line-height: 1.2; letter-spacing: 0.005em;
  text-shadow: 0 2px 30px rgba(60, 8, 20, 0.5);
}
.burst ::selection { background: var(--offwhite); color: var(--charcoal); }

/* ---------- Sections ---------- */
.section { padding-bottom: var(--section); }
.burst + .section { padding-top: clamp(56px, 6.4vw, 120px); }  /* services sit straight under the headline */
.inner { max-width: 1280px; margin-inline: auto; }
h2 { font-size: clamp(2.25rem, 4.4vw, 4.75rem); line-height: 1.04; }
.sec-lead { color: var(--muted); font-size: clamp(1.0625rem, 1.15vw, 1.3125rem); max-width: 34em; }

/* Services: a plain list in Vollkorn, two columns, a rule under every line.
   The second column starts one row down, so its top rule meets the first rule on the left. */
/* Everything in the panel scales with its width, so it keeps the same proportions on every screen. */
.svc-panel { --svc-rule: clamp(2px, 0.25vw, 4px); border-radius: clamp(28px, 2.8vw, 48px); background: var(--card); padding: clamp(28px, 4.2vw, 64px) clamp(22px, 4vw, 60px) clamp(40px, 5.6vw, 84px); }
.svc-label { font-size: clamp(0.9375rem, 1.875vw, 1.75rem); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.2; }
.svc {
  margin-top: clamp(64px, 11vw, 168px);
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(4, auto);
  grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 8vw, 118px);
  font-family: var(--serif); font-size: clamp(1.625rem, 3.25vw, 3rem); line-height: 1.2; letter-spacing: -0.01em;
}
.svc li { min-width: 0; padding: 0.42em 0 0.5em; border-bottom: var(--svc-rule) solid var(--charcoal); }
.svc li:first-child { padding-top: 0; }
.svc li:nth-child(n+5) { grid-column: 2; }
.svc li:nth-child(5) { grid-row: 2; border-top: var(--svc-rule) solid var(--charcoal); margin-top: calc(-1 * var(--svc-rule)); }
.svc li:nth-child(6) { grid-row: 3; }
.svc li:nth-child(7) { grid-row: 4; }

/* Statement band: a portrait seen through two stacked half-discs, lettering across it */
.stand { --w: clamp(280px, 57vw, 780px); background: var(--burgundy); color: var(--offwhite); padding-block: clamp(28px, 3.4vw, 56px); margin-bottom: var(--section); overflow: hidden; }
.stand-inner { position: relative; display: grid; justify-items: center; }
.stand-media { position: relative; width: var(--w); aspect-ratio: 688 / 656; clip-path: url(#stand-clip); }
.stand-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.stand-media::after { content: ""; position: absolute; inset: 0; background: rgba(92, 21, 37, var(--tint, 0.4)); }
.stand h2 {
  position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; text-align: center;
  font-family: var(--serif); font-weight: 700; font-size: calc(var(--w) * 0.108); line-height: 1.5; letter-spacing: 0.035em;
  text-wrap: nowrap; pointer-events: none;
}
.stand h2 span { display: block; }
.stand ::selection { background: var(--offwhite); color: var(--charcoal); }

/* Trusted by: a quiet row between two hairlines */
.trusted { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 56px) clamp(28px, 5vw, 96px); padding-block: clamp(36px, 4.4vw, 72px); border-block: 1px solid var(--rule); }
.trusted-label { font-size: clamp(0.9375rem, 1.3vw, 1.25rem); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.2; }
.trusted-logo { display: block; width: clamp(150px, 15vw, 210px); opacity: 0.86; transition: opacity 0.2s ease; }
.trusted-logo:hover { opacity: 1; }
.trusted-logo img { width: 100%; height: auto; }

.panel { border-radius: clamp(28px, 2.8vw, 48px); padding: clamp(28px, 5vw, 88px); }

/* ---------- Let's talk ---------- */
.panel--burgundy { background: var(--burgundy); color: var(--offwhite); position: relative; overflow: hidden; }
.panel--burgundy h2 em { color: inherit; }
.panel--burgundy .sec-lead, .panel--burgundy .muted { color: rgba(250, 249, 246, 0.84); }
.panel--burgundy ::selection { background: var(--offwhite); color: var(--charcoal); }
.panel--burgundy a:hover { text-decoration-color: var(--offwhite); }
.panel--burgundy :focus-visible { outline-color: var(--offwhite); }
.talk { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px clamp(28px, 5vw, 96px); align-items: start; }
.talk-copy { min-width: 0; display: grid; gap: clamp(18px, 1.8vw, 28px); justify-items: start; }
.contact-line { font-size: 1rem; }
.contact-line a { white-space: nowrap; }
.form { min-width: 0; display: grid; gap: 14px; align-content: start; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.9375rem; font-weight: 500; }
.field input, .field textarea {
  width: 100%; min-width: 0;
  background: var(--on-dark-soft); color: var(--offwhite);
  border: 1px solid transparent; border-radius: 28px;
  padding: 15px 22px; font: 400 1.0625rem/1.4 var(--sans);
}
.field textarea { resize: vertical; min-height: 7.5em; border-radius: 24px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(250, 249, 246, 0.55); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--offwhite); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--offwhite); box-shadow: 0 0 0 100px #6c2a39 inset; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: grid; gap: 14px; justify-items: start; margin-top: 8px; }
.consent { font-size: 0.9375rem; line-height: 1.5; max-width: 52ch; }
.form-status { font-size: 1rem; padding: 14px 20px; border-radius: 20px; background: var(--on-dark-soft); max-width: 52ch; }
.form-status:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding-block: clamp(36px, 4vw, 72px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 32px clamp(28px, 5vw, 96px); align-items: start; }
.footer-mark { width: clamp(110px, 9vw, 150px); }
.footer-mark img { width: 100%; height: auto; }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-col p { color: var(--muted); font-size: 0.9375rem; margin-bottom: 4px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--burgundy); text-decoration: underline; }
.footer-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 0.9375rem; color: var(--muted); }

/* ---------- 404 ---------- */
/* ---------- Closing image: full width, straight above the footer ---------- */
.closing { position: relative; overflow: hidden; }
.closing-photo { display: block; width: 100%; height: clamp(230px, 55.9vw, 92vh); object-fit: cover; object-position: center 46%; }
.closing-logo { position: absolute; left: 8.4%; top: 44.5%; width: 69%; height: auto; transform: translateY(-50%); pointer-events: none; }

/* ---------- Privacy policy ---------- */
.legal { padding-block: clamp(48px, 6vw, 104px) var(--section); }
.legal-inner { max-width: 44rem; margin-inline: auto; }
.legal h1 { font-size: clamp(2.25rem, 4.4vw, 4rem); line-height: 1.04; margin-bottom: 14px; }
.legal h2 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; margin-top: clamp(32px, 3.4vw, 52px); }
.legal p { margin-top: 14px; line-height: 1.65; }
.legal a { color: var(--burgundy); }

.notfound { padding-block: clamp(64px, 12vw, 160px); }
.notfound .wrap { display: grid; gap: 22px; justify-items: center; text-align: center; }
.notfound h1 { font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1.05; }

/* ---------- Narrower screens ---------- */
@media (max-width: 1100px) {
  .site-nav .nav-mail { display: none; }  /* the address stays in the contact panel and the footer */
}
@media (max-width: 900px) {
  .talk { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .site-header .btn { display: none; }
  .site-header .wrap { column-gap: 12px; }
  .brand { width: clamp(106px, 34vw, 164px); }
  .site-nav { gap: 6px clamp(10px, 3.4vw, 16px); }
  .site-nav a { font-size: clamp(0.8125rem, 3.9vw, 0.9375rem); }
  .stand { --w: 84vw; }
  .svc { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: minmax(0, 1fr); }
  .svc li:nth-child(n+5) { grid-column: auto; grid-row: auto; }
  .svc li:nth-child(5) { border-top: 0; margin-top: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .trusted-logo { transition: none; }
}
