
@font-face {
  font-family: 'Cinzel Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('/fonts/cinzel-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
}

:root {
  --bg: #090b10;
  --bg-2: #0c0f16;
  --surface: #12151d;
  --surface-2: #171b25;
  --fg: #ece7db;
  --fg-muted: #9b9382;
  --fg-subtle: #8a8272;
  --border: #232834;
  --border-strong: #323948;

  --brass: #c79a4a;
  --brass-bright: #ffe2a0;
  --brass-deep: #7c5a25;

  --line: rgba(199, 154, 74, 0.14);
  --line-soft: rgba(199, 154, 74, 0.07);
  --hair: rgba(236, 231, 219, 0.09);

  --danger: #e6796d;
  --success: #67c79a;

  --radius-sm: 0.55rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --content-max: 60rem;

  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);

  --serif: 'Cinzel Variable', 'Trajan Pro', 'Cormorant Garamond', serif;
  --sans: 'Inter Variable', ui-sans-serif, system-ui, -apple-system, 'Segoe UI',
    Roboto, sans-serif;
  --mono: 'SFMono-Regular', ui-monospace, 'JetBrains Mono', Menlo, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --grid-y: 199px;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  font-family: var(--sans);
  color: var(--fg);
  background:
    radial-gradient(60rem 38rem at 50% -12rem, rgba(199, 154, 74, 0.17), transparent 60%),
    radial-gradient(42rem 28rem at 50% 118%, rgba(199, 154, 74, 0.05), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, transparent calc(50% - 0.5px), var(--line-soft) calc(50% - 0.5px), var(--line-soft) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, transparent calc(50% - 0.5px), var(--line) calc(50% - 0.5px), var(--line) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 2rem 2rem, 2rem 2rem, 4rem 4rem, 4rem 4rem;
  background-position: 50% 0, 0 var(--grid-y), 50% 0, 0 var(--grid-y);
    -webkit-mask-image: radial-gradient(ellipse min(56rem, calc(50vw - 1rem)) 42rem at 50% var(--grid-y), #000 14%, transparent 74%);
      mask-image: radial-gradient(ellipse min(56rem, calc(50vw - 1rem)) 42rem at 50% var(--grid-y), #000 14%, transparent 74%);
  opacity: 0.7;
}

.sheet {
  position: fixed;
  inset: 0.75rem;
  z-index: 1;
  pointer-events: none;
  border: 1px solid var(--line-soft);
}
.sheet i {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 0 solid var(--brass-deep);
}
.sheet i:nth-child(1) { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.sheet i:nth-child(2) { top: -1px; right: -1px; border-top-width: 1px; border-right-width: 1px; }
.sheet i:nth-child(3) { bottom: -1px; left: -1px; border-bottom-width: 1px; border-left-width: 1px; }
.sheet i:nth-child(4) { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }
@media (max-width: 40rem) {
  .sheet { display: none; }
}

.topbar,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--surface);
  color: var(--fg);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  z-index: 20;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 1.5rem 1.75rem 0;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.lockup-mark {
  width: 1.4rem;
  height: 1.4rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  line-height: 1;
  padding-left: 0.08em;
}
.preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--brass-bright);
  border: 1px solid var(--line);
  background: rgba(199, 154, 74, 0.06);
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.preview-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass-bright);
  box-shadow: 0 0 8px var(--brass-bright);
}
a.preview-pill:hover {
  background: rgba(199, 154, 74, 0.13);
  border-color: rgba(199, 154, 74, 0.4);
}

.hero {
  position: relative;
  max-width: 50rem;
  margin: 0 auto;
  padding: 4rem 1.75rem 3.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mark-stage {
  position: relative;
  z-index: 1;
  margin-bottom: 1.9rem;
}
.mark {
  width: 10rem;
  height: 10rem;
  overflow: visible;
  filter: drop-shadow(0 14px 32px rgba(199, 154, 74, 0.34));
}

.pyramid {
  transform-box: fill-box;
  transform-origin: center;
}

.ridge {
  stroke-dasharray: 48;
  stroke-dashoffset: 0;
  opacity: 0;
}
.base-edge {
  opacity: 0;
}
.mark.building .ridge {
  animation: ridge-flash 1400ms ease both;
  animation-delay: 320ms;
}

@keyframes ridge-flash {
  0% { opacity: 0; stroke-dashoffset: 48; }
  30% { opacity: 1; }
  55% { opacity: 1; stroke-dashoffset: 0; }
  100% { opacity: 0; stroke-dashoffset: 0; }
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 8.5vw, 4.2rem);
  margin: 0;
  line-height: 1;
  padding-left: 0.22em; 
  background: linear-gradient(176deg, #ffe9bd 4%, #d7ac5f 42%, #b6853a 74%, #8a6329);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.wordmark::after {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  margin: 1.4rem auto 0;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
}

.tagline {
  font-size: clamp(1.28rem, 3.4vw, 1.8rem);
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.28;
  margin: 1.3rem 0 0;
  max-width: 24ch;
  text-wrap: balance;
  color: var(--fg);
}
.subtag {
  max-width: 44ch;
  margin: 1rem auto 0;
  color: var(--fg-muted);
  font-size: 1.02rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.prompt {
  margin-top: 2.25rem;
  width: min(34rem, 100%);
  text-align: left;
}
.prompt-panel {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 12px 34px rgba(0, 0, 0, 0.45);
}
.prompt-head,
.prompt-foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.022);
}
.prompt-head {
  justify-content: space-between;
  border-bottom: 1px solid var(--hair);
}
.prompt-foot {
  border-top: 1px solid var(--hair);
  font-size: 0.82rem;
  color: var(--fg-subtle);
}
.prompt-title {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.prompt-dots {
  display: inline-flex;
  gap: 0.34rem;
}
.prompt-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass-deep);
  opacity: 0.55;
  transition: opacity 0.25s var(--ease), background 0.25s var(--ease);
}
.prompt-dots i.is-active {
  background: var(--brass);
  opacity: 1;
}
.prompt-foot-glyph {
  flex: none;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--brass);
}
.prompt-body {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.95rem 0.85rem;
}
.prompt-chevron {
  flex: none;
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--brass);
}
.prompt-text {
  min-width: 0;
  font-family: var(--mono);
  font-size: 0.9rem;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--fg);
}
.prompt-text::after {
  content: '';
  display: inline-block;
  width: 0.5ch;
  height: 1.02em;
  margin-left: 0.12ch;
  transform: translateY(0.16em);
  background: var(--brass);
  animation: caret-blink 1.15s steps(1) infinite;
}
@keyframes caret-blink {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0; }
}

.hero-actions {
  margin-top: 2.1rem;
}
.preview-note {
  margin-top: 1.35rem;
  color: var(--fg-subtle);
  font-size: 0.9375rem;
}
.preview-note a {
  color: var(--brass-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.preview-note a:hover {
  color: var(--brass-bright);
  border-color: var(--brass);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 600;
  min-height: 2.9rem;
  padding: 0 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.14s var(--ease), box-shadow 0.14s var(--ease), background 0.14s var(--ease);
}
.btn.primary {
  color: #241a08;
  background: linear-gradient(180deg, #f3cd82, #cd9f4c 62%, #b98c3d);
  box-shadow: 0 8px 22px rgba(199, 154, 74, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(199, 154, 74, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn.primary:active {
  transform: translateY(0);
}
.btn:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 3px;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.contact {
  padding: 0 1.5rem;
}
.contact-inner {
  max-width: 33rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.6rem);
  background:
    radial-gradient(26rem 16rem at 50% -4rem, rgba(199, 154, 74, 0.08), transparent 62%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.contact h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.contact-lede {
  color: var(--fg-muted);
  margin: 0.6rem auto 1.9rem;
  max-width: 34ch;
}
.contact-form {
  display: grid;
  gap: 0.95rem;
  text-align: left;
}
.field {
  display: grid;
  gap: 0.38rem;
}
.field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--fg-muted);
}
.field .optional {
  color: var(--fg-subtle);
  font-weight: 400;
}
input[type='text'],
input[type='email'],
textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--fg);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.66rem 0.82rem;
  transition: border-color 0.14s var(--ease), box-shadow 0.14s var(--ease);
}
input::placeholder,
textarea::placeholder {
  color: var(--fg-subtle);
}
textarea {
  resize: vertical;
  min-height: 5.5rem;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(199, 154, 74, 0.18);
}
.contact-form .btn {
  margin-top: 0.3rem;
  width: 100%;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  font-size: 0.9375rem;
  min-height: 1.2em;
}
.form-status.error {
  color: var(--danger);
}
.form-status.success {
  color: var(--success);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 2.5rem 1.75rem 3rem;
  color: var(--fg-subtle);
  font-size: 0.85rem;
}
.site-footer .dot {
  opacity: 0.6;
}
.site-footer a {
  color: inherit;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--fg);
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .mark.building .ridge {
    animation: none;
  }
  .prompt-text::after {
    animation: none;
  }
  .btn,
  input,
  textarea,
  .preview-pill,
  .preview-note a {
    transition: none;
  }
}
