/* Haworth: public site
   Palette and type live in :root, change them there. */

@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 300; font-style: normal; font-display: swap; src: url(../fonts/lato-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/lato-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/lato-latin-700-normal.woff2) format("woff2"); }

:root {
  --ink: #0d0d0d;
  --gold: #c9a435;
  --gold-hi: #dcbb52;
  --bone: #f1ede4;
  --ash: #9a958a;
  --hair: rgba(201, 164, 53, 0.28);
  --hair-soft: rgba(201, 164, 53, 0.14);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(1.35rem, 5vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
img, video { max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: min(100% - var(--pad) * 2, 68rem); margin-inline: auto; }
.wrap--wide { width: min(100% - var(--pad) * 2, 82rem); }

/* ---------------------------------------------------------------- top bar */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(0.8rem + env(safe-area-inset-top)) var(--pad) 0.8rem;
  background: rgba(13, 13, 13, 0.9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hair-soft);
  transform: translateY(-100%); opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.bar--on { transform: none; opacity: 1; }
.bar__mark { display: flex; }
.bar__link {
  font-size: 0.9rem; font-weight: 400; letter-spacing: 0.06em; text-decoration: none;
  color: var(--gold); padding: 0.55rem 0; border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.bar__link:hover { border-color: var(--gold); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 5rem var(--pad);
}
/* Two nested frames echo the double border of the signet. */
.hero__frame {
  position: absolute; inset: clamp(12px, 2.2vw, 28px);
  border: 1px solid rgba(201, 164, 53, 0.55);
  border-radius: clamp(18px, 3vw, 38px);
  pointer-events: none;
  animation: fadein 1.6s ease 0.1s both;
}
.hero__frame::after {
  content: ""; position: absolute; inset: 7px;
  border: 1px solid var(--hair-soft);
  border-radius: clamp(13px, 2.4vw, 31px);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__signet { width: clamp(52px, 7vw, 72px); height: auto; animation: fadein 1s ease 0.25s both; }
.hero__word {
  margin: clamp(1.6rem, 4vw, 2.6rem) 0 0;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.7rem, 11.5vw, 7.6rem);
  line-height: 1; letter-spacing: 0.2em; text-indent: 0.2em; text-transform: uppercase;
  color: #fff;
  animation: settle 2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.55s both;
}
.hero__rule {
  display: block; height: 2px; width: clamp(96px, 16vw, 180px); margin: clamp(1.5rem, 3.4vw, 2.4rem) 0;
  background: var(--gold); transform-origin: center;
  animation: draw 1.3s cubic-bezier(0.22, 0.61, 0.36, 1) 1.3s both;
}
.hero__tag {
  margin: 0; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.15rem, 2.5vw, 1.7rem); letter-spacing: 0.07em; color: var(--gold);
  animation: fadein 1.4s ease 1.9s both;
}
.hero__down {
  position: absolute; left: 50%; bottom: clamp(30px, 5vw, 56px); width: 44px; height: 56px;
  transform: translateX(-50%); display: flex; justify-content: center;
  animation: fadein 1.4s ease 2.6s both;
}
.hero__down span {
  width: 1px; height: 100%; background: linear-gradient(to bottom, var(--gold), transparent);
  transform-origin: top; animation: drip 2.8s ease-in-out 3.2s infinite;
}

@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes settle { from { opacity: 0; letter-spacing: 0.34em; text-indent: 0.34em; } to { opacity: 1; letter-spacing: 0.2em; text-indent: 0.2em; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------------------------------------------------------------- statement */
.statement { padding: clamp(6rem, 15vw, 12rem) 0; }
.statement__grid {
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 0.8fr);
  gap: clamp(3rem, 8vw, 7rem); align-items: end;
}
.statement__text {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1.22; letter-spacing: -0.005em;
  color: var(--bone); text-wrap: balance;
}
.statement__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--hair); }
.statement__list li {
  padding: 1rem 0; border-top: 1px solid var(--hair);
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem); color: var(--gold);
}

/* ---------------------------------------------------------------- renders */
.renders { padding: 0 0 clamp(6rem, 14vw, 11rem); }
.renders__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 2rem; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.renders__head h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.renders__head p { margin: 0; color: var(--ash); font-size: 0.92rem; max-width: 34rem; }
.renders__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.8rem, 1.6vw, 1.4rem); }
.render { margin: 0; }
.render--lead, .render--video { grid-column: 1 / -1; }
.render__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.render img, .render video {
  display: block; width: 100%; height: auto; background: #050505;
  border: 1px solid var(--hair-soft); border-radius: 2px;
}
.render video { aspect-ratio: 16 / 9; object-fit: contain; }
.render figcaption { margin-top: 0.7rem; color: var(--ash); font-size: 0.85rem; font-style: italic; }

/* ---------------------------------------------------------------- enquiry */
.enquiry { padding: clamp(5rem, 12vw, 10rem) 0 clamp(6rem, 13vw, 11rem); border-top: 1px solid var(--hair-soft); }
.enquiry__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 6.5rem); align-items: start; }
.enquiry h2 {
  margin: 0 0 1.1rem; font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem); line-height: 1.2; text-wrap: balance;
}
.enquiry__intro > p { margin: 0 0 2.2rem; color: var(--ash); max-width: 30rem; }

.direct { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.direct a {
  display: inline-flex; align-items: center; gap: 0.85rem; min-height: 44px;
  text-decoration: none; font-weight: 400; word-break: break-word;
}
.direct svg { color: var(--gold); flex: none; }
.direct span { border-bottom: 1px solid transparent; transition: border-color 0.25s, color 0.25s; }
.direct a:hover span { border-color: var(--gold); color: var(--gold-hi); }

/* Same double-frame motif as the hero and the signet. */
.panel { padding: 6px; border: 1px solid rgba(201, 164, 53, 0.5); border-radius: 22px; }
.panel__inner { border: 1px solid var(--hair-soft); border-radius: 17px; padding: clamp(1.5rem, 3.4vw, 2.6rem); }

.field { margin-bottom: 1.6rem; }
.field label { display: block; margin-bottom: 0.15rem; font-size: 0.84rem; color: var(--ash); }
.field label span { opacity: 0.8; }
.field input {
  width: 100%; padding: 0.55rem 0; color: var(--bone); background: transparent;
  border: 0; border-bottom: 1px solid rgba(241, 237, 228, 0.28); border-radius: 0;
  font: 400 1.05rem/1.4 var(--sans); transition: border-color 0.25s;
}
.field input:focus { outline: none; border-color: var(--gold); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--bone); box-shadow: 0 0 0 40px var(--ink) inset; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 0 1.6rem;
  border: 1px solid var(--gold); border-radius: 2px; background: var(--gold); color: var(--ink);
  font: 700 0.95rem/1 var(--sans); letter-spacing: 0.05em; text-decoration: none; cursor: pointer;
  transition: background 0.25s, color 0.25s, opacity 0.25s;
}
.btn:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn[disabled] { opacity: 0.55; cursor: wait; }
.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: var(--gold); color: var(--ink); }

.form__note { margin: 1.1rem 0 0; font-size: 0.8rem; color: var(--ash); }
.form__error { margin: 0 0 1.2rem; color: #e5a08f; font-size: 0.92rem; }
.thanks { text-align: left; }
.thanks__msg { margin: 0 0 1.8rem; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.3; }

/* ---------------------------------------------------------------- footer */
.foot {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  padding: 3.5rem var(--pad) calc(3rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hair-soft); text-align: center;
}
.foot img { opacity: 0.9; margin-bottom: 0.9rem; }
.foot p { margin: 0; }
.foot__line { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; letter-spacing: 0.08em; }
.foot__note { color: var(--gold); font-size: 0.86rem; letter-spacing: 0.06em; }
.foot__social { display: flex; gap: 1.4rem; margin-top: 0.6rem !important; font-size: 0.86rem; }
.foot__social a { color: var(--ash); text-decoration: none; }
.foot__social a:hover { color: var(--gold); }
.foot__legal { margin-top: 1.1rem !important; font-size: 0.78rem; color: var(--ash); }

/* ---------------------------------------------------------------- lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.9rem; padding: 3.5rem 1rem 2rem; background: rgba(5, 5, 5, 0.96); cursor: zoom-out;
}
.lightbox img { max-width: 100%; max-height: 82vh; max-height: 82svh; object-fit: contain; }
.lightbox__cap { margin: 0; color: var(--ash); font-size: 0.9rem; font-style: italic; text-align: center; }
.lightbox__close {
  position: absolute; top: max(0.6rem, env(safe-area-inset-top)); right: 0.9rem; width: 48px; height: 48px;
  border: 0; background: none; color: var(--bone); font-size: 2.2rem; line-height: 1; cursor: pointer;
}

/* ---------------------------------------------------------------- 404 */
.lost { display: grid; place-items: center; min-height: 100vh; text-align: center; padding: 2rem; }
.lost main { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.lost h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.lost .btn { width: auto; }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 860px) {
  .statement__grid, .enquiry__grid { grid-template-columns: 1fr; }
  .statement__grid { gap: 3rem; }
  .renders__grid { grid-template-columns: 1fr; }
  .hero__word { letter-spacing: 0.16em; text-indent: 0.16em; }
  @keyframes settle { from { opacity: 0; letter-spacing: 0.28em; text-indent: 0.28em; } to { opacity: 1; letter-spacing: 0.16em; text-indent: 0.16em; } }
}
@media (max-width: 380px) {
  .panel__inner { padding: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
