* { box-sizing: border-box; }

:root {
  --paper: #f6efe7;
  --paper-deep: #e4d2c2;
  --ink: #15100d;
  --ink-soft: rgba(21, 16, 13, .70);
  --muted: rgba(21, 16, 13, .52);
  --cocoa: #8a6047;
  --copper: #b27f5c;
  --rose: #d9b0a0;
  --line: rgba(138, 96, 71, .28);
  --glass: rgba(255, 255, 255, .44);
  --glass-strong: rgba(255, 255, 255, .64);
  --shadow: rgba(94, 56, 37, .18);
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

body {
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.page {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: clamp(20px, 3.4vw, 56px);
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.95), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(226, 180, 152, .34), transparent 30%),
    radial-gradient(circle at 60% 100%, rgba(176, 116, 82, .20), transparent 34%),
    linear-gradient(135deg, #faf4ee 0%, #f1e4d8 48%, #dcc1ad 100%);
}

@supports (height: 100dvh) { .page { height: 100dvh; } }

.grain {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .13;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.48'/%3E%3C/svg%3E");
}

.ambient {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  border-radius: 999px;
  filter: blur(54px);
}

.ambient-one {
  width: 45vw;
  height: 45vw;
  left: -18vw;
  top: 23vh;
  background: rgba(255, 255, 255, .74);
  animation: ambientA 18s ease-in-out infinite alternate;
}

.ambient-two {
  width: 38vw;
  height: 38vw;
  right: 12vw;
  bottom: -18vw;
  background: rgba(173, 107, 73, .18);
  animation: ambientB 20s ease-in-out infinite alternate;
}

.hero {
  width: min(1220px, 100%);
  height: min(760px, calc(100vh - clamp(40px, 6.8vw, 112px)));
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(480px, 1.05fr) minmax(330px, .76fr);
  align-items: center;
  gap: clamp(46px, 6vw, 92px);
}

.content {
  width: min(650px, 100%);
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 clamp(20px, 2.5vh, 28px);
  color: var(--cocoa);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.logo {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(86px, 8.2vw, 146px);
  line-height: .86;
  font-weight: 500;
  letter-spacing: clamp(18px, 1.65vw, 30px);
  color: var(--ink);
}

.mark {
  margin-top: clamp(24px, 3vh, 34px);
  width: min(380px, 74%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
  color: rgba(138, 96, 71, .46);
}

.mark span {
  height: 1px;
  background: currentColor;
}

.mark svg {
  width: 26px;
  height: 26px;
  display: block;
}

.headline {
  margin: clamp(34px, 4.5vh, 48px) 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 4.8vw, 76px);
  line-height: .98;
  font-weight: 500;
  letter-spacing: .035em;
  color: var(--ink);
}

.description {
  margin: clamp(22px, 2.6vh, 30px) 0 0;
  width: min(520px, 96%);
  color: var(--ink-soft);
  font-size: clamp(17px, 1.2vw, 19px);
  line-height: 1.72;
  font-weight: 400;
}

.actions {
  margin-top: clamp(32px, 4.3vh, 46px);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta {
  position: relative;
  min-width: 278px;
  height: 58px;
  padding: 0 24px 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 999px;
  border: 1px solid rgba(138, 96, 71, .34);
  background: linear-gradient(135deg, rgba(255,255,255,.68), rgba(255,255,255,.32));
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(104, 69, 47, .13);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.44);
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -28%;
  width: 20%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  transform: skewX(-24deg) translateX(-240%);
  animation: shine 5.8s ease-in-out 3s infinite;
  pointer-events: none;
}

.cta span {
  position: relative;
  z-index: 1;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}

.cta i {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-style: normal;
  color: #fff;
  background: var(--ink);
  transition: transform .28s ease;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.social a {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: var(--cocoa);
  background: rgba(255,255,255,.36);
  border: 1px solid rgba(138, 96, 71, .16);
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .22s ease, color .22s ease, border-color .22s ease, background .22s ease;
}

.social svg {
  width: 22px;
  height: 22px;
  display: block;
}

.services {
  margin-top: clamp(34px, 4.5vh, 50px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.services span:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-left: 18px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 50%;
  background: rgba(138, 96, 71, .34);
}

.visual {
  position: relative;
  width: min(430px, 100%);
  justify-self: end;
}

.visual-backplate {
  position: absolute;
  inset: 22px -18px -22px 24px;
  border-radius: 42px;
  background: linear-gradient(155deg, rgba(255,255,255,.50), rgba(255,255,255,.10));
  border: 1px solid rgba(255,255,255,.48);
  box-shadow: 0 28px 70px rgba(95, 59, 38, .18);
  transform: rotate(2.2deg);
}

.visual-frame {
  position: relative;
  aspect-ratio: 4 / 5.25;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: 0 32px 92px rgba(88, 52, 34, .23);
  border: 1px solid rgba(255,255,255,.58);
  background: #e8d4c4;
  transform: translateZ(0);
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 4;
  border-radius: 31px;
  border: 1px solid rgba(255,255,255,.38);
  pointer-events: none;
}

.visual-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(.88) contrast(.98) brightness(1.02);
  transform: scale(1.025);
}

.visual-soften {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), transparent 34%, rgba(35,18,10,.16) 100%),
    radial-gradient(circle at 36% 20%, rgba(255,255,255,.28), transparent 32%);
  mix-blend-mode: soft-light;
}

@media (hover: hover) and (pointer: fine) {
  .cta:hover {
    transform: translateY(-2px);
    border-color: rgba(138, 96, 71, .46);
    box-shadow: 0 22px 55px rgba(104, 69, 47, .17);
    background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.40));
  }

  .cta:hover i {
    transform: translateX(3px);
  }

  .social a:hover {
    transform: translateY(-2px);
    color: var(--ink);
    background: rgba(255,255,255,.50);
    border-color: rgba(138, 96, 71, .28);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal .88s cubic-bezier(.2,.75,.18,1) forwards;
}

.r1 { animation-delay: .18s; }
.r2 { animation-delay: .42s; }
.r3 { animation-delay: .78s; }
.r4 { animation-delay: 1.08s; }
.r5 { animation-delay: 1.38s; }
.r6 { animation-delay: 1.68s; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ambientA {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(4vw,-2vh,0) scale(1.12); }
}

@keyframes ambientB {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(-3vw,2vh,0) scale(1.08); }
}

@keyframes shine {
  0%, 72%, 100% { transform: skewX(-24deg) translateX(-240%); opacity: 0; }
  8% { opacity: .7; }
  22% { transform: skewX(-24deg) translateX(620%); opacity: .5; }
  28% { opacity: 0; }
}

@media (max-width: 980px) {
  html,
  body { overflow: auto; }

  .page {
    min-height: 100vh;
    min-height: 100svh;
    height: auto;
    overflow: hidden;
    padding: 26px 20px 30px;
    place-items: start center;
  }

  @supports (height: 100dvh) {
    .page { min-height: 100dvh; }
  }

  .hero {
    width: min(560px, 100%);
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0;
  }

  .content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: clamp(20px, 5vh, 54px);
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .logo {
    font-size: clamp(58px, 17vw, 86px);
    letter-spacing: clamp(10px, 3.4vw, 17px);
    padding-left: clamp(10px, 3.4vw, 17px);
  }

  .mark {
    width: min(250px, 70%);
    margin-top: 22px;
    column-gap: 18px;
  }

  .mark svg {
    width: 22px;
    height: 22px;
  }

  .headline {
    margin-top: 28px;
    font-size: clamp(38px, 12vw, 54px);
  }

  .description {
    width: min(360px, 94%);
    margin-top: 19px;
    font-size: 16px;
    line-height: 1.62;
  }

  .actions {
    margin-top: 28px;
    justify-content: center;
    gap: 18px;
  }

  .cta {
    width: min(305px, 92vw);
    min-width: 0;
    height: 56px;
  }

  .cta span {
    font-size: 13px;
    letter-spacing: .14em;
  }

  .social a {
    width: 42px;
    height: 42px;
  }

  .services {
    width: min(360px, 96%);
    margin-top: 28px;
    justify-content: center;
    font-size: 11px;
    letter-spacing: .18em;
    gap: 10px 12px;
  }

  .services span:not(:last-child)::after {
    width: 3px;
    height: 3px;
    margin-left: 12px;
  }

  .visual {
    width: min(310px, 78vw);
    justify-self: center;
    margin-top: 8px;
  }

  .visual-backplate {
    inset: 14px -12px -14px 16px;
    border-radius: 34px;
  }

  .visual-frame {
    border-radius: 34px;
  }

  .visual-frame::before {
    inset: 11px;
    border-radius: 25px;
  }
}

@media (max-width: 420px) {
  .page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .visual {
    width: min(286px, 82vw);
  }

  .headline {
    letter-spacing: .025em;
  }

  .description {
    font-size: 15px;
  }
}

@media (max-height: 720px) and (min-width: 981px) {
  .hero {
    height: calc(100vh - 56px);
    min-height: 0;
    transform: scale(.92);
    transform-origin: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .ambient,
  .cta::after {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .cta,
  .cta i,
  .social a {
    transition: none;
  }
}
