:root {
  --cream: #f4f0e6;
  --paper: #ebe5d7;
  --ink: #1f2a20;
  --muted: #667064;
  --green: #27382b;
  --green-light: #71806b;
  --gold: #b18a48;
  --line: rgba(31, 42, 32, 0.15);

  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", sans-serif;
}


/* ------------------------------
   RESET
------------------------------ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}


/* ------------------------------
   GRAIN
------------------------------ */

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.055;

  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}


/* ------------------------------
   HEADER
------------------------------ */

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;

  padding: 34px 5vw;

  display: flex;
  justify-content: space-between;
  align-items: center;

  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--ink);
  text-decoration: none;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.logo-mark {
  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  border: 1px solid var(--ink);
  border-radius: 50%;

  font-family: var(--serif);
  font-size: 17px;
}

.status {
  display: flex;
  align-items: center;
  gap: 9px;

  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;

  color: var(--muted);
}

.status-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: var(--gold);

  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}


/* ------------------------------
   HERO
------------------------------ */

.hero {
  min-height: 100vh;
  position: relative;

  display: flex;
  align-items: center;

  padding: 150px 5vw 120px;

  overflow: hidden;
}

.hero-content {
  width: min(680px, 60vw);
  position: relative;
  z-index: 3;

  animation: reveal 1.2s cubic-bezier(.16,1,.3,1) both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 25px;

  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.eyebrow span {
  width: 35px;
  height: 1px;
  background: var(--gold);
}

h1 {
  font-family: var(--serif);

  font-size: clamp(64px, 8vw, 128px);
  line-height: 0.94;
  font-weight: 500;

  letter-spacing: -0.055em;
}

h1 em,
.coming-soon em {
  color: var(--green-light);
  font-weight: 500;
}

.hero-description {
  max-width: 460px;

  margin-top: 35px;

  font-size: 16px;
  line-height: 1.8;

  color: var(--muted);
}

.hero-actions {
  margin-top: 35px;
}

.notify-btn {
  border: none;
  background: var(--green);
  color: var(--cream);

  padding: 15px 20px;

  display: inline-flex;
  align-items: center;
  gap: 28px;

  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;

  cursor: pointer;

  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.notify-btn:hover {
  transform: translateY(-3px);
  background: #172319;
}

.arrow {
  font-size: 18px;
}


/* ------------------------------
   SUN
------------------------------ */

.sun {
  position: absolute;

  width: 42vw;
  height: 42vw;

  max-width: 600px;
  max-height: 600px;

  right: 5vw;
  top: 13%;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(177, 138, 72, 0.17) 0%,
      rgba(177, 138, 72, 0.08) 45%,
      transparent 70%
    );

  animation: sunFloat 8s ease-in-out infinite;
}

@keyframes sunFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}


/* ------------------------------
   FIELD
------------------------------ */

.field {
  position: absolute;

  right: -5vw;
  bottom: -2px;

  width: 53vw;
  height: 45vh;

  min-height: 300px;

  overflow: hidden;

  background:
    linear-gradient(
      168deg,
      transparent 0%,
      transparent 35%,
      rgba(39, 56, 43, 0.07) 35.1%,
      rgba(39, 56, 43, 0.07) 100%
    );

  z-index: 1;
}

.field::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    repeating-linear-gradient(
      172deg,
      transparent 0px,
      transparent 22px,
      rgba(39, 56, 43, 0.12) 23px,
      transparent 24px
    );

  transform: scale(1.2);
}

.field-line {
  position: absolute;

  width: 120%;
  height: 1px;

  left: -10%;

  background: rgba(39, 56, 43, 0.22);

  transform: rotate(-10deg);
}

.line-1 { top: 35%; }
.line-2 { top: 47%; }
.line-3 { top: 59%; }
.line-4 { top: 71%; }
.line-5 { top: 83%; }

.field-sun {
  position: absolute;

  width: 120px;
  height: 120px;

  top: 20px;
  right: 25%;

  border-radius: 50%;

  background: rgba(177, 138, 72, 0.23);
}

.field-label {
  position: absolute;

  right: 10%;
  bottom: 15%;

  display: flex;
  gap: 15px;

  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;

  color: var(--muted);
}

.field-label span {
  color: var(--gold);
}


/* ------------------------------
   PHILOSOPHY
------------------------------ */

.philosophy {
  background: var(--green);
  color: var(--cream);

  padding: 150px 5vw;
}

.section-intro {
  display: grid;
  grid-template-columns: 100px 1fr;

  max-width: 1100px;

  margin: auto;
}

.section-number {
  padding-top: 15px;

  font-size: 10px;
  letter-spacing: 0.2em;

  color: rgba(244, 240, 230, 0.45);
}

.section-intro h2 {
  font-family: var(--serif);

  font-size: clamp(48px, 6vw, 85px);
  line-height: 1;

  font-weight: 500;
}

.section-intro h2 span {
  color: #a9b59f;
  font-style: italic;
}

.philosophy-content {
  max-width: 1100px;
  margin: 100px auto 0;
}

.large-copy {
  max-width: 800px;

  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.35;

  color: rgba(244, 240, 230, 0.8);
}

.large-copy strong {
  color: var(--cream);
  font-weight: 500;
}

.process {
  margin-top: 110px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  border-top: 1px solid rgba(244, 240, 230, 0.2);
}

.process-item {
  padding: 30px 25px 0 0;

  border-right: 1px solid rgba(244, 240, 230, 0.15);
}

.process-item:not(:first-child) {
  padding-left: 25px;
}

.process-item:last-child {
  border-right: none;
}

.process-item > span {
  font-size: 10px;
  color: #a9b59f;
  letter-spacing: 0.15em;
}

.process-item h3 {
  margin-top: 35px;

  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

.process-item p {
  margin-top: 12px;

  max-width: 190px;

  font-size: 12px;
  line-height: 1.7;

  color: rgba(244, 240, 230, 0.55);
}


/* ------------------------------
   COMING SOON
------------------------------ */

.coming-soon {
  min-height: 80vh;

  display: grid;
  place-items: center;

  text-align: center;

  padding: 120px 5vw;
}

.coming-inner {
  max-width: 900px;
}

.coming-label {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 12px;

  color: var(--gold);

  margin-bottom: 30px;
}

.coming-soon h2 {
  font-family: var(--serif);
  font-size: clamp(55px, 8vw, 115px);

  font-weight: 500;
  line-height: 0.95;

  letter-spacing: -0.04em;
}

.launch-line {
  margin-top: 60px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.launch-line span {
  width: 45px;
  height: 1px;
  background: var(--line);
}

.launch-line p {
  font-size: 12px;

  text-transform: uppercase;
  letter-spacing: 0.2em;

  color: var(--muted);
}


/* ------------------------------
   FOOTER
------------------------------ */

.footer {
  border-top: 1px solid var(--line);

  padding: 30px 5vw;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 10px;

  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-brand strong {
  letter-spacing: 0.2em;
  color: var(--ink);
}

.footer-right {
  display: flex;
  gap: 25px;
}


/* ------------------------------
   MODAL
------------------------------ */

.modal {
  position: fixed;
  inset: 0;

  display: grid;
  place-items: center;

  visibility: hidden;
  opacity: 0;

  z-index: 200;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.modal.active {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(20, 28, 21, 0.65);

  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;

  width: min(500px, calc(100% - 40px));

  padding: 50px;

  background: var(--cream);

  transform: translateY(20px);

  transition: transform 0.4s cubic-bezier(.16,1,.3,1);
}

.modal.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;

  top: 18px;
  right: 20px;

  border: none;
  background: none;

  font-size: 28px;

  color: var(--muted);

  cursor: pointer;
}

.modal-label {
  font-size: 10px;

  text-transform: uppercase;
  letter-spacing: 0.2em;

  color: var(--gold);
}

.modal-card h2 {
  margin-top: 20px;

  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  font-weight: 500;
}

.modal-card h2 em {
  color: var(--green-light);
}

.modal-card p {
  margin-top: 20px;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.7;
}

#notifyForm {
  margin-top: 30px;

  display: flex;

  border-bottom: 1px solid var(--ink);
}

#email {
  flex: 1;

  border: none;
  outline: none;

  background: transparent;

  padding: 15px 0;

  font-family: var(--sans);
  font-size: 13px;
}

#notifyForm button {
  border: none;
  background: none;

  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;

  cursor: pointer;
}

.form-message {
  margin-top: 15px;

  font-size: 11px;

  color: var(--green-light);
}


/* ------------------------------
   RESPONSIVE
------------------------------ */

@media (max-width: 800px) {

  .header {
    padding: 25px 6vw;
  }

  .status {
    font-size: 11px;
  }

  .hero {
    min-height: 900px;

    padding:
      150px 6vw
      350px;
  }

  .hero-content {
    width: 100%;
  }

  h1 {
    font-size: clamp(58px, 16vw, 90px);
  }

  .sun {
    width: 80vw;
    height: 80vw;

    right: -25vw;
    top: 35%;
  }

  .field {
    width: 115vw;
    height: 300px;

    right: -10vw;
  }

  .field-label {
    display: none;
  }

  .philosophy {
    padding: 100px 6vw;
  }

  .section-intro {
    grid-template-columns: 50px 1fr;
  }

  .process {
    grid-template-columns: 1fr 1fr;
  }

  .process-item {
    padding: 25px 20px 35px 0;

    border-bottom: 1px solid rgba(244, 240, 230, 0.15);
  }

  .process-item:nth-child(2) {
    border-right: none;
    padding-left: 20px;
  }

  .process-item:nth-child(3) {
    padding-left: 0;
  }

  .process-item:nth-child(4) {
    border-right: none;
    padding-left: 20px;
  }

  .coming-soon {
    min-height: 70vh;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .footer-right {
    width: 100%;
    justify-content: space-between;
  }

  .modal-card {
    padding: 40px 30px;
  }
}


@media (max-width: 450px) {

  .logo {
    font-size: 11px;
  }

  .logo-mark {
    width: 28px;
    height: 28px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-description {
    font-size: 14px;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .process-item,
  .process-item:nth-child(2),
  .process-item:nth-child(3),
  .process-item:nth-child(4) {
    border-right: none;

    padding-left: 0;
    padding-right: 0;
  }

  .process-item:last-child {
    border-bottom: none;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}