:root {
  --black: #0a0a0a;
  --ink: #141414;
  --paper: #fbfaf8;
  --line: rgba(10,10,10,0.14);
  --line-soft: rgba(10,10,10,0.08);
  --gray: #6b6b6b;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Jost', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 22px clamp(24px, 5vw, 64px);
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}

.corner-logo {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 60;
  display: block;
  line-height: 0;
}

.corner-logo img {
  display: block;
  width: 112px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-nav a { position: relative; padding-bottom: 4px; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right 0.4s cubic-bezier(.2,.7,.2,1);
}
.site-nav a:hover::after { right: 0; }
.site-nav a.is-current::after { right: 0; opacity: 0.4; }

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(10,10,10,0.05), transparent 60%),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid var(--line);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 720px;
}

.hero-mark-img {
  width: clamp(44px, 5.5vw, 58px);
  height: auto;
  margin-bottom: 32px;
  opacity: 0;
  animation: rise 1s cubic-bezier(.2,.7,.2,1) 0.1s forwards;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 6vw, 68px);
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
  opacity: 0;
  animation: rise 1.1s cubic-bezier(.2,.7,.2,1) 0.25s forwards;
}

.hero-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 28px 0 20px;
  opacity: 0;
  animation: rise 1s cubic-bezier(.2,.7,.2,1) 0.45s forwards;
}
.hero-rule span {
  width: 44px;
  height: 1px;
  background: var(--black);
  opacity: 0.5;
}
.hero-rule p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--gray);
  margin: 0 0 44px;
  opacity: 0;
  animation: rise 1s cubic-bezier(.2,.7,.2,1) 0.6s forwards;
}

.hero-cta {
  display: inline-block;
  padding: 16px 44px;
  border: 1px solid var(--black);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: rise 1s cubic-bezier(.2,.7,.2,1) 0.78s forwards;
  transition: color 0.5s ease;
  z-index: 1;
}
.hero-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
  z-index: -1;
}
.hero-cta:hover { color: var(--paper); }
.hero-cta:hover::before { transform: translateY(0); }

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

/* ---------- About ---------- */

.about {
  padding: 140px 24px;
  border-top: 1px solid var(--line-soft);
}

.about-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about .eyebrow { color: var(--gray); text-align: center; }

.about-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.28;
  letter-spacing: 0.005em;
  margin: 0 0 32px;
  color: var(--black);
}

.about-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray);
  max-width: 52ch;
  margin: 0 auto;
}

/* ---------- Contact ---------- */

.contact {
  background: var(--black);
  color: var(--paper);
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}

.contact-solo {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 160px;
}

.contact-watermark {
  position: absolute;
  top: 50%;
  right: -6%;
  transform: translateY(-50%);
  width: 640px;
  max-width: 60vw;
  height: auto;
  opacity: 0.05;
  pointer-events: none;
}

.contact-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(251,250,248,0.55);
  margin: 0 0 20px;
}

.contact-copy h1,
.contact-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
  margin: 0 0 24px;
}

.contact-sub {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(251,250,248,0.6);
  max-width: 34ch;
  margin: 0;
}

/* form */

.contact-form { display: flex; flex-direction: column; gap: 30px; }

.field { position: relative; }

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(251,250,248,0.3);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  padding: 8px 2px 12px;
  outline: none;
  resize: none;
  transition: border-color 0.3s ease;
}

.field textarea { line-height: 1.5; }

.field input:focus,
.field textarea:focus {
  border-color: var(--paper);
}

.field label {
  position: absolute;
  left: 2px;
  top: 8px;
  font-size: 16px;
  color: rgba(251,250,248,0.45);
  pointer-events: none;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}

.field .optional {
  font-size: 12px;
  opacity: 0.7;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: -14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251,250,248,0.55);
}

.submit-btn {
  align-self: flex-start;
  margin-top: 10px;
  padding: 16px 46px;
  background: var(--paper);
  color: var(--black);
  border: 1px solid var(--paper);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.3s ease, color 0.3s ease;
}
.submit-btn:hover { background: transparent; color: var(--paper); }

.btn-loader {
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.submit-btn.loading .btn-loader { width: 14px; }
.submit-btn.loading .btn-text { opacity: 0.6; }

.form-status {
  min-height: 20px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(251,250,248,0.8);
  margin: 0;
}
.form-status.error { color: #e08a8a; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 64px 24px 48px;
  text-align: center;
  background: var(--paper);
}

.footer-mark-img {
  width: 22px;
  height: auto;
  margin-bottom: 14px;
}

.footer-word {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.3em;
  margin: 0 0 10px;
}
.footer-word::before,
.footer-word::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--black);
  opacity: 0.5;
}

.footer-fine {
  font-size: 12px;
  color: var(--gray);
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 780px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .site-header { padding: 22px 20px; }
  .hero::before { inset: 14px; }
  .contact-solo { padding-top: 140px; }
  .contact-watermark { display: none; }
}
