/* ─────────────────────────────────────────────────────────
   PROSTONE MASONRY . shared styles
   ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

:root {
  --ink: #1a1a1a;
  --ink-deep: #0d0d0d;
  --paper: #ffffff;           /* wireframes are bright white */
  --paper-soft: #fafafa;
  --gray-50: #f5f5f5;          /* form input fill */
  --gray-100: #ececec;
  --gray-300: #bdbdbd;         /* the gray placeholder text */
  --gray-500: #8a8a8a;
  --gray-700: #4a4a4a;
  --rule: #e6e6e6;

  --serif: 'Bodoni Moda', 'Didot', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  --max: 1280px;
  --gutter: clamp(20px, 4.5vw, 60px);

  --radius-pill: 999px;
  --radius-input: 10px;
  --radius-btn: 32px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}
::selection { background: var(--ink); color: var(--paper); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ─────────────────────────────────────────────────────────
   NAV . small "PR🪨" mark left, burger right
   ───────────────────────────────────────────────────────── */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 28px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav.fixed {
  position: fixed;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  padding-top: 18px;
  padding-bottom: 18px;
  transition: background 0.3s ease;
}
.nav-logo { height: 42px; width: auto; transition: opacity 0.25s ease; }
.nav-logo:hover { opacity: 0.6; }

.burger {
  width: 36px; height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  cursor: pointer;
  position: relative;
  z-index: 110;
}
.burger span {
  display: block;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(.6,0,.2,1), opacity 0.3s ease, width 0.3s ease;
}
.burger span:nth-child(1) { width: 28px; }
.burger span:nth-child(2) { width: 22px; }
.burger span:nth-child(3) { width: 28px; }
.burger.open span { background: var(--paper); }
.burger.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); width: 28px; }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); width: 28px; }

/* ─────────────────────────────────────────────────────────
   FULLSCREEN MENU OVERLAY . opens from burger
   ───────────────────────────────────────────────────────── */
.menu {
  position: fixed;
  inset: 0;
  background: var(--ink-deep);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(.2,.6,.2,1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px var(--gutter);
}
.menu.open { opacity: 1; pointer-events: auto; }

.menu-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.menu-list a {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  color: var(--paper);
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: -0.02em;
  line-height: 1;
  position: relative;
  display: inline-block;
  padding: 6px 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(.2,.6,.2,1), transform 0.6s cubic-bezier(.2,.6,.2,1), color 0.3s ease;
}
.menu.open .menu-list a {
  opacity: 1;
  transform: translateY(0);
}
.menu.open .menu-list a:nth-child(1) { transition-delay: 0.1s; }
.menu.open .menu-list a:nth-child(2) { transition-delay: 0.18s; }
.menu.open .menu-list a:nth-child(3) { transition-delay: 0.26s; }
.menu.open .menu-list a:nth-child(4) { transition-delay: 0.34s; }

.menu-list a::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #d4b88a;
  transform: translateY(-50%) scale(0);
  transition: transform 0.3s ease;
}
.menu-list a:hover { color: #d4b88a; }
.menu-list a:hover::before { transform: translateY(-50%) scale(1); }
.menu-list a.current { color: #d4b88a; font-style: italic; }

.menu-foot {
  position: absolute;
  bottom: 40px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  opacity: 0;
  transition: opacity 0.6s ease 0.5s;
}
.menu.open .menu-foot { opacity: 1; }
.menu-foot a:hover { color: var(--paper); }
@media (max-width: 720px) {
  .menu-foot {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    bottom: 28px;
    font-size: 11.5px;
    letter-spacing: 0.06em;
  }
  .menu-list a { font-size: clamp(40px, 12vw, 72px); }
  .nav { padding: 20px var(--gutter); }
  .nav-logo { height: 36px; }
}
@media (max-width: 480px) {
  .menu-list { gap: 8px; }
  .menu-list a { font-size: 42px; padding: 4px 8px; }
}

/* ─────────────────────────────────────────────────────────
   PAGE FRAME
   ───────────────────────────────────────────────────────── */
.page {
  min-height: 100vh;
  position: relative;
  padding-top: 110px;
  padding-bottom: 80px;
}

/* ─────────────────────────────────────────────────────────
   BUTTONS . pill-shaped, dark, full-width or fixed
   ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 28px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-btn);
  border: 1px solid var(--ink);
  transition: background 0.25s ease, transform 0.2s ease, letter-spacing 0.3s ease;
  cursor: pointer;
}
.btn:hover {
  background: var(--ink-deep);
  letter-spacing: 0.04em;
  transform: translateY(-2px);
}
.btn--block { width: 100%; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ─────────────────────────────────────────────────────────
   FORM . pill-rounded inputs (matches wireframe)
   ───────────────────────────────────────────────────────── */
.form { width: 100%; }
.form-field { margin-bottom: 22px; }
.form-field label {
  display: block;
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 8px;
  font-weight: 400;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--gray-50);
  border: 1px solid transparent;
  padding: 16px 20px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  border-radius: var(--radius-input);
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--gray-300); }
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { background: var(--gray-100); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ink);
  background: var(--paper);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1a1a' fill='none' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 44px;
}

/* ─────────────────────────────────────────────────────────
   FOOTER . small, clean
   ───────────────────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--rule);
  padding: 32px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  gap: 20px;
  flex-wrap: wrap;
}
.foot a { transition: color 0.2s ease; }
.foot a:hover { color: var(--ink); }
@media (max-width: 720px) {
  .foot { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ─────────────────────────────────────────────────────────
   REVEAL ANIMATIONS
   ───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s cubic-bezier(.2,.6,.2,1), transform 0.9s cubic-bezier(.2,.6,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
