/* Tiyana Gold — contemporary bullion-house visual system */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant-garamond.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
}

:root {
  --ink: #211e1a;
  --ink-soft: #575047;
  --paper: #f8f3e9;
  --paper-deep: #eee4d2;
  --white: #fffdf8;
  --gold: #785208;
  --gold-bright: #d7ad4c;
  --gold-pale: #ead6a1;
  --line: rgba(110, 77, 16, 0.2);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", sans-serif;
  --shell: min(1180px, calc(100vw - 64px));
  --header-height: 84px;
  --shadow: 0 28px 80px rgba(57, 42, 17, 0.15);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

address {
  font-style: normal;
}

::selection {
  color: var(--ink);
  background: var(--gold-pale);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.why :focus-visible,
.site-footer :focus-visible,
.editorial-band :focus-visible,
.mobile-contact-bar :focus-visible,
.image-dialog :focus-visible {
  outline-color: #f0cf78;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(88px, 10vw, 148px);
  scroll-margin-top: var(--header-height);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 40px;
  height: 1px;
  background: currentColor;
}

.eyebrow--light {
  color: var(--gold-pale);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms var(--ease);
}

.button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button:hover {
  transform: translateY(-2px);
}

.button--gold {
  color: #fff;
  background: var(--gold);
  border-color: var(--gold);
}

.button--gold:hover {
  background: #8d6411;
  border-color: #8d6411;
}

.button--quiet {
  color: var(--ink);
  background: transparent;
  border-color: rgba(33, 30, 26, 0.35);
}

.button--quiet:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button--outline-light {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.45);
}

.button--outline-light:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  color: var(--gold);
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 200ms var(--ease);
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: height 220ms var(--ease), background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  height: 74px;
  background: rgba(248, 243, 233, 0.96);
  border-color: var(--line);
  box-shadow: 0 10px 35px rgba(57, 42, 17, 0.07);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  width: 102px;
  height: 64px;
  align-items: center;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
}

.primary-nav > a:not(.nav-call) {
  position: relative;
  padding-block: 12px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.primary-nav > a:not(.nav-call)::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.primary-nav > a:not(.nav-call):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-call {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background 200ms ease;
}

.nav-call:hover {
  background: var(--gold);
}

.menu-toggle {
  position: relative;
  z-index: 2;
  display: none;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-toggle__icon {
  position: relative;
  width: 21px;
  height: 12px;
}

.menu-toggle__icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: top 200ms ease, transform 200ms ease;
}

.menu-toggle__icon span:first-child { top: 2px; }
.menu-toggle__icon span:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child { top: 6px; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.94), transparent 36%),
    linear-gradient(115deg, #faf6ee 0%, #f3ead9 58%, #e5d3ae 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 0.78fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  padding-block: calc(var(--header-height) + 48px) 64px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
  animation: hero-rise 900ms 120ms both var(--ease);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(60px, 7vw, 102px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.84;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--gold);
  font-weight: 400;
}

.hero-intro {
  max-width: 570px;
  margin: 34px 0 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 300;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-motto {
  margin: 34px 0 0;
  color: #7b715f;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
}

.hero-visual {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 520px);
  padding: 24px 36px 30px 30px;
  animation: hero-reveal 1.2s 80ms both var(--ease);
}

.hero-visual::before {
  position: absolute;
  inset: 0 0 0 22%;
  background: var(--ink);
  content: "";
}

.hero-visual::after {
  position: absolute;
  inset: 28px -2px -10px 18%;
  z-index: -1;
  border: 1px solid rgba(168, 121, 23, 0.36);
  content: "";
}

.hero-arch {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: min(68vh, 680px);
  min-height: 500px;
  border-radius: 220px 220px 6px 6px;
  box-shadow: var(--shadow);
  background: #8c001e;
}

.hero-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 24% center;
  transition: transform 1s var(--ease);
}

.hero-visual:hover .hero-arch img {
  transform: scale(1.025);
}

.hero-note {
  position: absolute;
  z-index: 3;
  display: grid;
  min-width: 144px;
  gap: 2px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 18px 45px rgba(57, 42, 17, 0.12);
  backdrop-filter: blur(8px);
}

.hero-note span {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-note strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.hero-note--top {
  top: 19%;
  right: -24px;
}

.hero-note--bottom {
  bottom: 8%;
  left: -18px;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-reveal {
  from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(22px); }
  to { opacity: 1; clip-path: inset(0); transform: translateY(0); }
}

/* Credibility */
.credibility {
  color: var(--white);
  background: var(--ink);
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.credibility-item {
  display: grid;
  gap: 6px;
  min-height: 132px;
  align-content: center;
  padding: 26px 30px;
  border-left: 1px solid rgba(234, 214, 161, 0.18);
}

.credibility-item:last-child {
  border-right: 1px solid rgba(234, 214, 161, 0.18);
}

.credibility-number {
  color: var(--gold-pale);
  font-family: var(--serif);
  font-size: clamp(21px, 2.1vw, 29px);
  line-height: 1;
}

.credibility-label {
  color: #aaa298;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Headings and about */
.section-heading h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 5.8vw, 76px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.section-heading--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: clamp(46px, 6vw, 76px);
}

.section-heading--split > p {
  max-width: 410px;
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
}

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(64px, 10vw, 138px);
}

.about-heading h2 {
  max-width: 540px;
}

.about-copy {
  padding-top: 33px;
}

.about-copy .lead {
  max-width: 650px;
  margin: 0 0 40px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.17;
}

.copy-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-bottom: 38px;
}

.copy-columns p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
}

/* Range */
.range {
  background: var(--paper);
}

.range-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.1fr);
  gap: clamp(56px, 8vw, 110px);
  align-items: start;
}

.range-feature {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  margin: 0;
}

.range-feature img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 42% center;
}

.range-feature figcaption {
  display: grid;
  gap: 3px;
  width: calc(100% - 34px);
  margin: -56px 0 0 34px;
  padding: 22px 26px;
  position: relative;
  color: var(--white);
  background: var(--ink);
}

.range-feature figcaption span {
  color: var(--gold-pale);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.range-feature figcaption strong {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
}

.range-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: category;
}

.range-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 22px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
}

.range-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.range-list li > span {
  padding-top: 7px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.range-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 500;
  line-height: 1.1;
}

.range-list p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 300;
}

.range-disclaimer {
  margin: 40px 0 0;
  color: #71685e;
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* Editorial band */
.editorial-band {
  display: grid;
  min-height: 650px;
  grid-template-columns: 1.12fr 0.88fr;
  background: var(--ink);
}

.editorial-image {
  min-height: 560px;
  overflow: hidden;
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.editorial-band:hover .editorial-image img {
  transform: scale(1.02);
}

.editorial-copy {
  display: flex;
  max-width: 640px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(56px, 7vw, 100px);
  color: var(--white);
}

.editorial-copy blockquote {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.98;
}

.editorial-copy > p:not(.eyebrow) {
  max-width: 430px;
  margin: 28px 0 34px;
  color: #bdb5aa;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
}

/* Why */
.why {
  color: var(--white);
  background: #171512;
  border-top: 1px solid rgba(234, 214, 161, 0.14);
}

.section-heading--dark > p {
  color: #aaa298;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(234, 214, 161, 0.22);
  border-bottom: 1px solid rgba(234, 214, 161, 0.22);
}

.why-grid article {
  min-height: 310px;
  padding: 36px 28px 42px;
  border-left: 1px solid rgba(234, 214, 161, 0.22);
}

.why-grid article:last-child {
  border-right: 1px solid rgba(234, 214, 161, 0.22);
}

.why-grid article > span {
  color: var(--gold-bright);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.why-grid h3 {
  margin: 70px 0 15px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
}

.why-grid p {
  margin: 0;
  color: #aaa298;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
}

/* Gallery */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 250px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--paper-deep);
  cursor: zoom-in;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--ease), filter 350ms ease;
}

.gallery-item--tall img {
  object-position: center 54%;
}

.gallery-item > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 15px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.93);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(calc(100% + 13px));
  transition: transform 300ms var(--ease);
  backdrop-filter: blur(8px);
}

.gallery-item > span b {
  font-size: 15px;
  font-weight: 400;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: saturate(1.06);
  transform: scale(1.035);
}

.gallery-item:hover > span,
.gallery-item:focus-visible > span {
  transform: translateY(0);
}

/* Contact */
.contact {
  position: relative;
  overflow: clip;
  background: var(--paper);
}

.contact-glow {
  position: absolute;
  top: -340px;
  right: -260px;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(168, 121, 23, 0.17);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(168, 121, 23, 0.035), 0 0 0 180px rgba(168, 121, 23, 0.025);
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(380px, 1.05fr) minmax(380px, 0.95fr);
  gap: clamp(64px, 10vw, 140px);
  align-items: center;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.address-panel {
  position: relative;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.8);
  box-shadow: var(--shadow);
}

.address-panel::before {
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(168, 121, 23, 0.14);
  content: "";
  pointer-events: none;
}

.address-kicker {
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.address-panel > p:not(.visit-note) {
  margin: 25px 0 30px;
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.32;
}

.address-panel strong {
  font-weight: 600;
}

.address-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.address-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.address-links a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.visit-note {
  margin: 32px 0 0;
  padding-top: 24px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  padding: 74px 0 24px;
  color: #b3aaa0;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.6fr 1fr;
  gap: 70px;
  padding-bottom: 62px;
}

.footer-wordmark {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: 42px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.footer-wordmark span {
  color: var(--gold-bright);
}

.footer-brand > p:not(.footer-wordmark) {
  margin: 10px 0 0;
  color: var(--gold-pale);
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: var(--gold-pale);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links a,
.footer-contact a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #d6cec3;
  font-size: 12px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold-bright);
}

.footer-contact p {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(234, 214, 161, 0.14);
}

.footer-bottom p {
  margin: 0;
  color: #aaa298;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.mobile-contact-bar {
  display: none;
}

/* Image dialog */
.image-dialog {
  width: min(90vw, 980px);
  max-width: none;
  padding: 0;
  color: var(--white);
  border: 0;
  background: transparent;
  overflow: visible;
}

.image-dialog::backdrop {
  background: rgba(14, 12, 10, 0.92);
  backdrop-filter: blur(8px);
}

.dialog-media {
  display: grid;
  max-height: 78vh;
  place-items: center;
  overflow: hidden;
  background: #111;
}

.dialog-media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
}

.image-dialog > p {
  margin: 14px 0 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: 22px;
  text-align: center;
}

.dialog-close {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px auto;
  padding: 6px 0;
  color: var(--white);
  border: 0;
  background: none;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.dialog-close span {
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

/* Tablet */
@media (max-width: 1020px) {
  :root {
    --shell: min(100% - 44px, 860px);
  }

  .primary-nav {
    gap: 17px;
  }

  .primary-nav > a:not(.nav-call) {
    font-size: 9px;
  }

  .nav-call {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(58px, 8vw, 78px);
  }

  .hero-note--top {
    right: -6px;
  }

  .hero-note--bottom {
    left: -6px;
  }

  .credibility-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .credibility-item:nth-child(3) {
    border-top: 1px solid rgba(234, 214, 161, 0.18);
  }

  .credibility-item:nth-child(4) {
    border-top: 1px solid rgba(234, 214, 161, 0.18);
    border-right: 1px solid rgba(234, 214, 161, 0.18);
  }

  .about-grid,
  .range-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-copy {
    max-width: 700px;
    padding-top: 0;
  }

  .range-feature {
    position: relative;
    top: auto;
  }

  .range-feature img {
    aspect-ratio: 16 / 10;
  }

  .range-list {
    columns: 2;
    column-gap: 44px;
  }

  .range-list li {
    break-inside: avoid;
  }

  .editorial-band {
    grid-template-columns: 1fr;
  }

  .editorial-image {
    min-height: 520px;
  }

  .editorial-copy {
    max-width: none;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid article:nth-child(3),
  .why-grid article:nth-child(4) {
    border-top: 1px solid rgba(234, 214, 161, 0.22);
  }

  .contact-copy {
    max-width: 720px;
  }

  .address-panel {
    max-width: 680px;
  }
}

/* Mobile navigation and layout */
@media (max-width: 760px) {
  :root {
    --shell: calc(100% - 34px);
    --header-height: 70px;
  }

  body {
    padding-bottom: 66px;
  }

  .site-header,
  .site-header.is-scrolled,
  .site-header.is-menu-open {
    height: var(--header-height);
  }

  .site-header {
    background: rgba(248, 243, 233, 0.94);
    border-color: var(--line);
    backdrop-filter: blur(14px);
  }

  .brand {
    width: 84px;
    height: 54px;
  }

  .menu-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: flex;
    max-height: calc(100dvh - var(--header-height));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 17px 28px;
    border-top: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 28px 50px rgba(57, 42, 17, 0.14);
    opacity: 0;
    overflow: auto;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 180ms ease, transform 260ms var(--ease), visibility 0s linear 260ms;
    visibility: hidden;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
    visibility: visible;
  }

  .primary-nav > a:not(.nav-call) {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 6px;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
  }

  .primary-nav > a:not(.nav-call)::after {
    position: static;
    width: 8px;
    height: 8px;
    border-top: 1px solid var(--gold);
    border-right: 1px solid var(--gold);
    background: transparent;
    transform: rotate(45deg);
  }

  .nav-call {
    display: flex;
    min-height: 50px;
    justify-content: center;
    margin-top: 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: calc(var(--header-height) + 58px) 74px;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 76px);
    line-height: 0.88;
  }

  .hero-intro {
    margin-top: 28px;
    font-size: 16px;
  }

  .hero-actions .button {
    flex: 1 1 190px;
  }

  .hero-visual {
    justify-self: center;
    width: min(94%, 480px);
    padding: 18px 21px 23px 18px;
  }

  .hero-arch {
    height: min(98vw, 610px);
    min-height: 430px;
    border-radius: 190px 190px 4px 4px;
  }

  .hero-note--top {
    top: 16%;
    right: -4px;
  }

  .hero-note--bottom {
    bottom: 6%;
    left: -4px;
  }

  .credibility-item {
    min-height: 112px;
    padding: 22px 18px;
  }

  .copy-columns {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading--split {
    display: block;
  }

  .section-heading--split > p {
    margin-top: 24px;
  }

  .range-layout {
    gap: 48px;
  }

  .range-feature img {
    aspect-ratio: 4 / 5;
  }

  .range-list {
    columns: auto;
  }

  .editorial-band {
    min-height: auto;
  }

  .editorial-image {
    min-height: 420px;
  }

  .editorial-copy {
    padding: 64px 17px 74px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-grid article {
    min-height: auto;
    padding: 30px 24px 34px;
    border-right: 1px solid rgba(234, 214, 161, 0.22);
  }

  .why-grid article:not(:first-child) {
    border-top: 1px solid rgba(234, 214, 161, 0.22);
  }

  .why-grid h3 {
    margin-top: 40px;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .gallery-item > span {
    transform: translateY(0);
  }

  .contact-grid {
    gap: 54px;
  }

  .contact-actions .button {
    flex: 1 1 190px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .mobile-contact-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 90;
    display: grid;
    height: 66px;
    grid-template-columns: 1fr 1fr;
    padding: 7px;
    background: var(--ink);
    box-shadow: 0 -10px 30px rgba(33, 30, 26, 0.15);
  }

  .mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .mobile-contact-bar a:first-child {
    color: var(--ink);
    background: var(--gold-bright);
  }

  .mobile-contact-bar svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
  }

  html:not(.js) .site-header {
    position: relative;
    height: auto;
  }

  html:not(.js) .header-inner {
    flex-wrap: wrap;
    padding-block: 8px 18px;
  }

  html:not(.js) .menu-toggle {
    display: none;
  }

  html:not(.js) .primary-nav {
    position: static;
    width: 100%;
    max-height: none;
    padding: 0;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    overflow: visible;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  html:not(.js) .hero-inner {
    padding-top: 58px;
  }
}

@media (max-width: 480px) {
  .eyebrow {
    gap: 10px;
    letter-spacing: 0.18em;
  }

  .eyebrow > span {
    width: 26px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .contact-actions .button {
    flex: auto;
    width: 100%;
  }

  .hero-note {
    min-width: 124px;
    padding: 11px 13px;
  }

  .hero-note strong {
    font-size: 17px;
  }

  .credibility-grid {
    grid-template-columns: 1fr 1fr;
  }

  .credibility-number {
    font-size: 19px;
  }

  .credibility-label {
    font-size: 8px;
  }

  .range-list li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 14px;
  }

  .gallery-grid {
    grid-auto-rows: 190px;
  }

  .gallery-item:not(.gallery-item--wide):not(.gallery-item--tall) {
    grid-column: span 2;
  }

  .gallery-item--tall {
    grid-row: span 2;
  }

  .address-panel {
    padding: 34px 27px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .mobile-contact-bar,
  .hero-actions,
  .contact-actions,
  .gallery-item > span,
  .image-dialog {
    display: none !important;
  }

  body {
    padding: 0;
    color: #000;
    background: #fff;
  }

  .section {
    padding-block: 40px;
  }
}
