:root {
  --ink: #2F3B3B;
  --sand: #D8C9B4;
  --stone: #AFA48E;
  --sage: #6E7E73;
  --terracotta: #B96F52;
  --cream: #F3EDE1;
  --line: rgba(47, 59, 59, .14);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }

.eyebrow {
  margin: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow--accent { color: var(--terracotta); }
.eyebrow--sand { color: var(--sand); }

/* Top bar */
.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 22px var(--pad);
}
.topbar__link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 100vh;
  min-height: 100svh;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 120px var(--pad) 64px;
}

.hero__logo {
  position: relative;
  margin: 28px 0 0;
  width: min(100%, 520px);
  line-height: 0;
}
.hero__logo img { width: 100%; }
.tm {
  position: absolute;
  top: 2%;
  right: -26px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.hero__tagline {
  margin: 36px 0 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  color: var(--terracotta);
}
.hero__sub {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: .02em;
}
.hero__lead {
  max-width: 440px;
  margin: 22px 0 0;
  color: rgba(47, 59, 59, .8);
}

/* Brewing status */
.brewing {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  max-width: 460px;
}
.brewing__cup {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--ink);
}
.steam {
  position: absolute;
  bottom: 100%;
  width: 2px; height: 16px;
  border-radius: 2px;
  background: var(--stone);
  opacity: 0;
  animation: steam 2.6s ease-in-out infinite;
}
.steam.s1 { left: 16px; }
.steam.s2 { left: 25px; animation-delay: .7s; }
.steam.s3 { left: 34px; animation-delay: 1.4s; }
@keyframes steam {
  0%   { transform: translateY(6px) scaleY(.4); opacity: 0; }
  40%  { opacity: .8; }
  100% { transform: translateY(-14px) scaleY(1.1) skewX(-12deg); opacity: 0; }
}
.brewing__meta { flex: 1; display: grid; gap: 10px; }
.brewing__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.dots i { font-style: normal; animation: blink 1.4s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }

.brewing__bar {
  position: relative;
  height: 3px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(47, 59, 59, .1);
}
.brewing__bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sand), var(--terracotta));
  animation: brew 3.2s var(--ease) infinite;
}
@keyframes brew {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(260%); }
}

/* Notify form */
.notify { margin-top: 30px; max-width: 460px; }
.notify__label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 20px;
}
.notify__row {
  display: flex;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 5px;
  background: rgba(255, 255, 255, .35);
  transition: box-shadow .3s;
}
.notify__row:focus-within { box-shadow: 0 0 0 4px rgba(185, 111, 82, .18); }
.notify input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  outline: none;
}
.notify input::placeholder { color: rgba(47, 59, 59, .5); }
.notify button {
  flex: none;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font: 600 12px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s, transform .2s;
}
.notify button:hover { background: var(--terracotta); }
.notify button:active { transform: scale(.97); }
.notify button[disabled] { opacity: .6; cursor: wait; }
.notify__msg { min-height: 1.6em; margin: 10px 0 0 18px; font-size: 14px; }
.notify__msg.is-ok { color: var(--sage); }
.notify__msg.is-err { color: var(--terracotta); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Hero media */
.hero__media {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.hero__media picture,
.hero__media picture img {
  width: 100%;
  height: 100%;
}
.hero__media picture img {
  object-fit: cover;
  object-position: 45% center;
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.14) translate(-1.5%, -1%); }
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(47, 59, 59, .45) 0%, rgba(47, 59, 59, 0) 30%, rgba(47, 59, 59, 0) 60%, rgba(47, 59, 59, .55) 100%);
}
.hero__media figcaption {
  position: absolute;
  left: 32px; bottom: 32px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 12px;
  border-radius: 14px;
  background: rgba(243, 237, 225, .9);
  backdrop-filter: blur(6px);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.2;
}
.hero__media figcaption img {
  width: 44px; height: 44px;
  padding: 6px;
  border-radius: 10px;
  background: var(--terracotta);
}

/* Manifest */
.manifest {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(80px, 12vw, 160px) var(--pad);
}
.manifest__inner { max-width: 1100px; margin: 0 auto; }
.manifest blockquote {
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.12;
  letter-spacing: -.005em;
}
.manifest blockquote em { color: var(--terracotta); }
.manifest__en {
  max-width: 620px;
  margin: 28px 0 0;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--stone);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: clamp(60px, 8vw, 110px) 0 0;
  padding: 0;
  list-style: none;
}
.pillars li { padding-top: 22px; border-top: 1px solid rgba(216, 201, 180, .25); }
.pillars__no {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--terracotta);
}
.pillars h2 {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
}
.pillars p { margin: 0; font-size: 15px; color: rgba(243, 237, 225, .7); }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  gap: clamp(14px, 2vw, 28px);
  padding: clamp(60px, 8vw, 110px) var(--pad);
  max-width: 1400px;
  margin: 0 auto;
}
.gallery__item {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 538 / 672;
}
.gallery__item--wide { aspect-ratio: auto; }
.gallery__item picture,
.gallery__item img { width: 100%; height: 100%; }
.gallery__item img {
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.gallery__item:hover img { transform: scale(1.04); }

/* Footer */
.footer {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 70px var(--pad) 46px;
  background: var(--ink);
  color: var(--sand);
  text-align: center;
}
.footer__logo { width: 150px; margin-bottom: 8px; }
.footer__tag { margin: 0; font-family: var(--serif); font-size: 20px; color: var(--cream); }
.footer__contact { margin: 14px 0 0; font-size: 14px; letter-spacing: .04em; }
.footer__contact a { text-decoration: none; border-bottom: 1px solid rgba(216, 201, 180, .4); }
.footer__contact a:hover { color: var(--cream); }
.footer__copy { margin: 26px 0 0; font-size: 12px; letter-spacing: .08em; color: rgba(216, 201, 180, .6); }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; height: 62vh; min-height: 380px; }
  .hero__content { padding-top: 56px; }
  .pillars { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 600px) {
  .hero__logo { width: 82%; }
  .tm { right: -20px; font-size: 12px; }
  .hero__media figcaption { left: 16px; bottom: 16px; font-size: 15px; }
  .notify__row { flex-direction: column; border-radius: 18px; gap: 6px; }
  .notify button { padding: 15px; border-radius: 14px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { aspect-ratio: 889 / 672; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
