:root {
  --paper: #f3eee7;
  --paper-rgb: 243, 238, 231;
  --ink: #49372c;
  --muted: #6f6056;
  --soft: #d9cec2;
  --accent: #b85c42;
  --accent-dark: #8f432f;
  --page-pad: clamp(1.5rem, 5vw, 6.75rem);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color-scheme: light;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.holding-page {
  display: grid;
  grid-template-columns: minmax(40rem, 44.25%) 1fr;
  min-height: 100vh;
  min-height: 100dvh;
  isolation: isolate;
}

.content-panel {
  position: relative;
  z-index: 2;
  display: flex;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.8), transparent 36%),
    var(--paper);
}

.content-panel::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -7.5rem;
  bottom: 0;
  width: 7.5rem;
  background: linear-gradient(90deg, var(--paper), rgba(var(--paper-rgb), 0));
  content: "";
  pointer-events: none;
}

.content-inner {
  display: flex;
  width: 100%;
  min-height: 100%;
  padding: clamp(3rem, 7vh, 5.5rem) var(--page-pad) clamp(2rem, 5vh, 4rem);
  flex-direction: column;
}

.brand-logo {
  width: min(100%, 35rem);
  height: auto;
}

.message {
  margin: auto 0;
  padding: clamp(2.5rem, 7vh, 6.5rem) 0 2.5rem;
}

.eyebrow {
  display: flex;
  margin: 0 0 clamp(2rem, 4vh, 3.1rem);
  align-items: center;
  gap: 1.15rem;
  color: var(--accent);
  font-size: clamp(0.78rem, 0.9vw, 1.08rem);
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.28em;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow::after {
  width: 4.75rem;
  height: 3px;
  flex: 0 0 auto;
  background: var(--accent);
  content: "";
}

h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(2.6rem, 3.1vw, 3.65rem);
  font-weight: 720;
  letter-spacing: -0.052em;
  line-height: 1.045;
  text-wrap: balance;
}

h1 span {
  display: inline-block;
  margin-top: 0.08em;
}

.lead {
  max-width: 39rem;
  margin: clamp(1.75rem, 4vh, 3.25rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.45rem);
  line-height: 1.62;
}

.contacts {
  padding-top: 1.65rem;
  border-top: 1px solid var(--soft);
  font-style: normal;
}

.contacts-title {
  display: block;
  margin-bottom: 1.15rem;
  color: #88766a;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.contacts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem clamp(1.5rem, 3vw, 3.2rem);
}

.contacts a {
  position: relative;
  font-size: clamp(0.95rem, 1.05vw, 1.22rem);
  line-height: 1.4;
  text-decoration: none;
}

.contacts a::after {
  position: absolute;
  right: 0;
  bottom: -0.3rem;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms ease;
}

.contacts a:hover::after,
.contacts a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contacts a:focus-visible {
  border-radius: 2px;
  outline: 3px solid rgba(184, 92, 66, 0.3);
  outline-offset: 5px;
}

.visual-panel {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: #5d503f;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.025);
}

.visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31, 23, 18, 0.02) 50%, rgba(31, 23, 18, 0.5) 100%),
    linear-gradient(90deg, rgba(31, 23, 18, 0.08), transparent 35%);
  pointer-events: none;
}

.location {
  position: absolute;
  right: clamp(1.5rem, 4vw, 5rem);
  bottom: clamp(1.5rem, 5vh, 4.75rem);
  display: grid;
  min-width: 17.5rem;
  margin: 0;
  padding: 1.25rem 1.65rem 1.15rem;
  background: rgba(var(--paper-rgb), 0.94);
  box-shadow: 0 18px 50px rgba(31, 23, 18, 0.18);
  gap: 0.35rem;
  backdrop-filter: blur(8px);
}

.location span {
  font-size: 0.93rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.location small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.15rem);
}

.js.is-ready .reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js.is-ready .brand-logo {
  transition-delay: 80ms;
}

.js.is-ready .eyebrow {
  transition-delay: 180ms;
}

.js.is-ready h1 {
  transition-delay: 280ms;
}

.js.is-ready .lead {
  transition-delay: 380ms;
}

.js.is-ready .contacts {
  transition-delay: 480ms;
}

.js.is-ready .location {
  transition-delay: 580ms;
}

.js.is-ready .hero-image {
  animation: hero-settle 1.4s cubic-bezier(0.22, 1, 0.36, 1) both,
    hero-breathe 20s 1.4s ease-in-out infinite alternate;
}

@keyframes hero-settle {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.025);
  }
}

@keyframes hero-breathe {
  from { transform: scale(1.025); }
  to { transform: scale(1.065); }
}

@media (max-width: 1100px) {
  .holding-page {
    grid-template-columns: minmax(32rem, 52%) 1fr;
  }

  h1 {
    font-size: clamp(2.65rem, 4.6vw, 3.4rem);
  }

  .location {
    right: 1.5rem;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .holding-page {
    display: block;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .visual-panel {
    position: fixed;
    z-index: -2;
    inset: 0;
    min-height: 100vh;
  }

  .hero-image {
    object-position: 68% center;
  }

  .visual-shade {
    background:
      linear-gradient(180deg, rgba(35, 25, 20, 0.48), rgba(35, 25, 20, 0.67)),
      linear-gradient(0deg, rgba(35, 25, 20, 0.45), transparent 45%);
  }

  .content-panel {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    background: linear-gradient(90deg, rgba(var(--paper-rgb), 0.98) 0%, rgba(var(--paper-rgb), 0.94) 76%, rgba(var(--paper-rgb), 0.82) 100%);
  }

  .content-panel::after {
    display: none;
  }

  .content-inner {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: max(2rem, env(safe-area-inset-top));
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }

  .brand-logo {
    width: min(87%, 28rem);
  }

  .message {
    padding: 3rem 0 2rem;
  }

  .eyebrow {
    margin-bottom: 2rem;
    letter-spacing: 0.22em;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 10.2vw, 4.3rem);
  }

  .lead {
    max-width: 32rem;
    font-size: clamp(1rem, 4vw, 1.2rem);
  }

  .contacts-list {
    display: grid;
    gap: 0.65rem;
  }

  .contacts a {
    width: max-content;
    max-width: 100%;
  }

  .location {
    position: fixed;
    z-index: -1;
    right: 1.25rem;
    bottom: 1.25rem;
    display: none;
  }
}

@media (max-width: 420px) {
  .content-inner {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .brand-logo {
    width: 100%;
  }

  .message {
    padding: 2.5rem 0 1.75rem;
  }

  .eyebrow {
    font-size: 0.7rem;
  }

  .eyebrow::after {
    width: 2.5rem;
  }

  h1 {
    font-size: clamp(2.25rem, 11.5vw, 3.1rem);
    line-height: 1.03;
  }

  .lead {
    line-height: 1.5;
  }

  .contacts {
    padding-top: 1.25rem;
  }
}

@media (max-height: 760px) and (min-width: 761px) {
  .content-inner {
    padding-top: 2rem;
    padding-bottom: 1.75rem;
  }

  .brand-logo {
    width: min(100%, 27rem);
  }

  .message {
    padding: 1.75rem 0;
  }

  .eyebrow {
    margin-bottom: 1.5rem;
  }

  h1 {
    font-size: clamp(2.4rem, 3.8vw, 3.5rem);
  }

  .lead {
    margin-top: 1.5rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
