:root {
  --ink: #050505;
  --paper: #f4f0e8;
  --muted: #79736a;
  --line: rgba(5, 5, 5, 0.18);
  --panel: #dfd5c6;
  --white: #fffdf8;
  --accent: #bbff00;
  --shadow: 0 24px 80px rgba(5, 5, 5, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

.cursor-orb {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(187,255,0,0.28), rgba(187,255,0,0) 62%);
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0.7;
  mix-blend-mode: multiply;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s ease, border 0.25s ease;
}

.site-header.scrolled {
  background: rgba(244,240,232,0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand, .nav { display: flex; align-items: center; gap: 1rem; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-weight: 900;
}
.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.3rem;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.section, .hero { position: relative; z-index: 1; }
.section { padding: 8rem 1.25rem; border-top: 1px solid var(--line); }
.section-grid {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto 1fr auto;
  gap: 1.25rem;
  padding: 5.5rem 1.25rem 1.25rem;
}

.hero-kicker {
  grid-column: 1 / -1;
  align-self: start;
  font-size: clamp(0.75rem, 1.2vw, 1rem);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}

h1, h2, h3, p { margin: 0; }
h1 {
  grid-column: 1 / -1;
  max-width: 11ch;
  font-size: clamp(4.6rem, 16vw, 17rem);
  line-height: 0.77;
  letter-spacing: -0.12em;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel {
  align-self: end;
  max-width: 43rem;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(1.25rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}
.hero-panel p {
  font-size: clamp(1.25rem, 2.5vw, 2.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }

.hero-card {
  align-self: end;
  min-height: 20rem;
  padding: 1rem;
  border: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
}
.hero-card span { font-size: clamp(4rem, 10vw, 9rem); line-height: 0.75; letter-spacing: -0.12em; font-weight: 900; }
.hero-card p { max-width: 18rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.8rem 1rem;
  border: 1px solid currentColor;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--accent); color: var(--ink); }
.button-light { background: transparent; color: var(--paper); }
.button-light:hover { background: var(--paper); color: var(--ink); }

.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--accent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee span {
  padding: 0.55rem 1.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  margin-bottom: 4rem;
}
h2 {
  font-size: clamp(2.8rem, 8vw, 8.5rem);
  line-height: 0.82;
  letter-spacing: -0.09em;
  text-transform: uppercase;
}
.section-head p, .split-copy p {
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  align-items: start;
}
.project-card {
  border: 1px solid var(--ink);
  background: var(--white);
  min-height: 22rem;
}
.project-card.large { grid-column: span 7; }
.project-card.tall { grid-column: span 5; margin-top: 5rem; }
.project-card.wide { grid-column: 4 / span 7; }
.project-image {
  min-height: 28rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem;
  overflow: hidden;
  position: relative;
}
.project-image::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(5,5,5,0.35);
}
.project-cutroom::before {
  border-color: rgba(56,215,255,0.38);
  box-shadow: inset 0 0 0 1px rgba(244,189,47,0.18), 0 0 55px rgba(56,215,255,0.12);
}
.project-image span {
  position: relative;
  z-index: 1;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.8;
  letter-spacing: -0.1em;
  font-weight: 900;
}
.placeholder-a { background: linear-gradient(135deg, #0a0a0a 0 45%, #eee5d9 45% 58%, #c8c0b4 58%); color: var(--paper); }
.placeholder-b { background: repeating-linear-gradient(90deg, #ece5d9 0 18px, #0a0a0a 18px 19px); }
.placeholder-c { background: radial-gradient(circle at 70% 20%, var(--accent), transparent 30%), #d8d0c4; }
.project-copy { padding: 1rem; border-top: 1px solid var(--ink); }
.project-copy h3, .service-list h3 {
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.project-copy p, .service-list p, .process-list p { color: #45413d; line-height: 1.35; }

.split-section {
  display: grid;
  grid-template-columns: 0.2fr 1.1fr 0.7fr;
  gap: 2rem;
  align-items: start;
}
.split-copy { padding-top: 0.35rem; }
.split-copy .button { margin-top: 1.5rem; }

.services h2 { margin-bottom: 3rem; }
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.service-list article {
  min-height: 22rem;
  padding: 1rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-list span { font-size: 0.75rem; letter-spacing: 0.14em; color: var(--muted); }

.process-list {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  border-top: 1px solid var(--ink);
}
.process-list li {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.process-list span {
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 0.8;
  letter-spacing: -0.09em;
  font-weight: 900;
}
.process-list p { max-width: 42rem; font-size: 1.05rem; }

.manifesto {
  background: var(--ink);
  color: var(--paper);
  padding: 3rem 1.25rem;
}
.manifesto p {
  font-size: clamp(2.4rem, 9vw, 10rem);
  line-height: 0.78;
  letter-spacing: -0.1em;
  text-transform: uppercase;
  font-weight: 900;
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}
.direct-contact {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.direct-contact p {
  display: grid;
  gap: 0.25rem;
}
.direct-contact a {
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: -0.03em;
  text-transform: none;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  width: fit-content;
}
.direct-contact a:hover { color: var(--accent); }

.contact-form {
  display: grid;
  gap: 1rem;
  background: var(--ink);
  color: var(--paper);
  padding: 1rem;
}
.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
input, textarea {
  width: 100%;
  border: 1px solid rgba(244,240,232,0.32);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  padding: 0.9rem;
  font: inherit;
  outline: none;
}
input:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; }
.contact-form .button { width: 100%; border-color: var(--paper); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border-top: 1px solid var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .section-grid, .section-head, .split-section, .contact-inner { grid-template-columns: 1fr; }
  h1 { font-size: clamp(4rem, 22vw, 9rem); }
  .hero-card { min-height: 14rem; }
  .editorial-grid { grid-template-columns: 1fr; }
  .project-card.large, .project-card.tall, .project-card.wide { grid-column: auto; margin-top: 0; }
  .project-image { min-height: 20rem; }
  .service-list { grid-template-columns: 1fr; }
  .process-list li { grid-template-columns: 1fr; gap: 1rem; }
  .footer { flex-direction: column; }
}


.success-page {
  min-height: 100vh;
}

.success-hero {
  min-height: calc(100vh - 92px);
  align-content: center;
}

.hidden-field {
  display: none;
}

.project-cutroom {
  background:
    radial-gradient(circle at 82% 14%, rgba(56,215,255,0.42), transparent 26%),
    radial-gradient(circle at 20% 28%, rgba(244,189,47,0.30), transparent 30%),
    linear-gradient(135deg, #07090b 0%, #0d1115 52%, #101820 100%);
  color: #fff7e8;
}
.project-cutroom::after {
  content: "PORTFOLIO CONCEPT / NOT CLIENT WORK";
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  max-width: 11rem;
  text-align: right;
  font-size: 0.66rem;
  line-height: 1.25;
  letter-spacing: 0.12em;
  color: #fff7e8;
}
.project-cutroom span {
  max-width: 6ch;
  text-shadow: 0 0 24px rgba(56,215,255,0.20), 0 0 44px rgba(244,189,47,0.14);
}
.project-cutroom span::after {
  content: "";
  display: block;
  width: 58%;
  height: 0.16em;
  margin-top: 0.12em;
  background: linear-gradient(90deg, #f4bd2f, #38d7ff);
}
.project-meta {
  margin-bottom: 0.7rem;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.project-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 1rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.project-link:hover {
  color: var(--accent);
}

.project-preview-button {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: inherit;
}

.site-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.site-preview-modal.is-open {
  display: flex;
}

.site-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(10px);
}

.site-preview-window {
  position: relative;
  width: min(1180px, 96vw);
  height: min(760px, 88vh);
  background: #f5f1e8;
  border: 1px solid rgba(245, 241, 232, 0.35);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.site-preview-topbar {
  min-height: 58px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #0a0a0a;
  color: #f5f1e8;
  border-bottom: 1px solid rgba(245, 241, 232, 0.18);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.preview-eyebrow {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0.62;
}

.preview-close {
  border: 1px solid rgba(245, 241, 232, 0.5);
  background: transparent;
  color: #f5f1e8;
  padding: 10px 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.site-preview-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

body.preview-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .site-preview-modal {
    padding: 10px;
  }

  .site-preview-window {
    width: 100%;
    height: 92vh;
  }

  .site-preview-topbar {
    align-items: flex-start;
    font-size: 12px;
  }

  .preview-close {
    padding: 8px 10px;
    font-size: 11px;
  }
}

.project-harbour {
  background:
    radial-gradient(circle at 85% 12%, rgba(192,144,71,0.38), transparent 24%),
    radial-gradient(circle at 16% 72%, rgba(217,229,220,0.26), transparent 34%),
    linear-gradient(135deg, #10201d 0%, #315a4d 58%, #0c1815 100%);
  color: #f6f1e8;
}
.project-harbour::before {
  border-color: rgba(246,241,232,0.34);
  box-shadow: inset 0 0 0 1px rgba(192,144,71,0.22), 0 0 55px rgba(49,90,77,0.18);
}
.project-harbour::after {
  content: "PORTFOLIO CONCEPT / PROPERTY";
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  max-width: 11rem;
  text-align: right;
  font-size: 0.66rem;
  line-height: 1.25;
  letter-spacing: 0.12em;
  color: #f6f1e8;
}
.project-harbour span {
  max-width: 8ch;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -0.08em;
  text-shadow: 0 0 32px rgba(192,144,71,0.12);
}
.project-harbour span::after {
  content: "";
  display: block;
  width: 54%;
  height: 0.08em;
  margin-top: 0.18em;
  background: linear-gradient(90deg, #c09047, #d9e5dc);
}


.project-luma {
  background:
    radial-gradient(circle at 18% 18%, rgba(200,142,141,0.42), transparent 28%),
    radial-gradient(circle at 82% 26%, rgba(181,139,67,0.34), transparent 30%),
    linear-gradient(135deg, #fff8ee 0%, #f5eadb 45%, #e8c9bd 100%);
  color: #251712;
}
.project-luma::before {
  border-color: rgba(37,23,18,0.22);
  box-shadow: inset 0 0 0 1px rgba(181,139,67,0.28), 0 0 70px rgba(200,142,141,0.18);
}
.project-luma::after {
  content: "PORTFOLIO CONCEPT / BEAUTY";
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  max-width: 11rem;
  text-align: right;
  font-size: 0.66rem;
  line-height: 1.25;
  letter-spacing: 0.12em;
  color: rgba(37,23,18,0.72);
}
.project-luma span {
  max-width: 9ch;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.11em;
  text-shadow: 0 0 34px rgba(181,139,67,0.16);
}
.project-luma span::after {
  content: "";
  display: block;
  width: 50%;
  height: 0.08em;
  margin-top: 0.18em;
  background: linear-gradient(90deg, #b58b43, #c88e8d, #251712);
}

/* Mobile polish pass — keeps the editorial/fashion direction but makes it easier to use on phones. */
@media (hover: none), (pointer: coarse) {
  .cursor-orb { display: none; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }

  .site-header {
    padding: 0.85rem 0.9rem;
    font-size: 0.66rem;
    background: rgba(244,240,232,0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }

  .brand { gap: 0.65rem; min-width: 0; }
  .brand span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-mark { width: 1.55rem; height: 1.55rem; flex: 0 0 auto; }

  .section-grid {
    min-height: auto;
    padding: 5rem 0.9rem 1rem;
    gap: 0.9rem;
  }

  .hero-kicker {
    font-size: 0.62rem;
    line-height: 1.35;
    letter-spacing: 0.12em;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.05rem, 18.5vw, 5.7rem);
    line-height: 0.84;
    letter-spacing: -0.095em;
  }

  .hero-panel {
    padding: 1rem;
    box-shadow: 0 16px 46px rgba(5,5,5,0.16);
  }

  .hero-panel p {
    font-size: clamp(1.2rem, 7vw, 1.85rem);
    line-height: 1;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-top: 1rem;
  }

  .button {
    width: 100%;
    min-height: 3rem;
    padding: 0.9rem 1rem;
  }

  .hero-card {
    min-height: 10.5rem;
    padding: 0.9rem;
  }

  .hero-card span {
    font-size: clamp(3.6rem, 22vw, 5.8rem);
    letter-spacing: -0.11em;
  }

  .hero-card p {
    max-width: 100%;
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .marquee span {
    padding: 0.48rem 0.9rem;
    font-size: 0.66rem;
  }

  .section {
    padding: 4.6rem 0.9rem;
  }

  .section-head {
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .section-label,
  .project-meta,
  .service-list span {
    font-size: 0.62rem;
    letter-spacing: 0.13em;
  }

  h2 {
    font-size: clamp(2.35rem, 15vw, 4.7rem);
    line-height: 0.86;
    letter-spacing: -0.085em;
  }

  .section-head p,
  .split-copy p {
    font-size: clamp(1rem, 5vw, 1.3rem);
    line-height: 1.12;
  }

  .editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .project-card {
    min-height: auto;
  }

  .project-card.large,
  .project-card.tall,
  .project-card.wide {
    grid-column: auto;
    margin-top: 0;
  }

  .project-image {
    min-height: 13.5rem;
    padding: 0.85rem;
  }

  .project-image::before {
    inset: 0.65rem;
  }

  .project-image span {
    font-size: clamp(2.65rem, 15vw, 4.6rem);
    line-height: 0.83;
    letter-spacing: -0.09em;
  }

  .project-cutroom::after,
  .project-harbour::after,
  .project-luma::after {
    top: 0.75rem;
    right: 0.75rem;
    max-width: 8.5rem;
    font-size: 0.52rem;
    line-height: 1.25;
    letter-spacing: 0.1em;
  }

  .project-copy {
    padding: 0.9rem;
  }

  .project-copy h3,
  .service-list h3 {
    font-size: clamp(1.25rem, 7vw, 1.8rem);
    line-height: 0.95;
  }

  .project-copy p,
  .service-list p,
  .process-list p {
    font-size: 0.95rem;
    line-height: 1.38;
  }

  .project-link {
    min-height: 2.75rem;
    align-items: center;
    border: 1px solid currentColor;
    padding: 0.8rem 0.9rem;
    width: 100%;
    justify-content: center;
  }

  .split-section {
    gap: 1rem;
  }

  .services h2 {
    margin-bottom: 1.8rem;
  }

  .service-list article {
    min-height: auto;
    gap: 2.75rem;
    padding: 1rem;
  }

  .process-list {
    margin-top: 2rem;
  }

  .process-list li {
    gap: 0.7rem;
    padding: 1rem 0;
  }

  .process-list span {
    font-size: clamp(1.9rem, 11vw, 3.6rem);
  }

  .manifesto {
    padding: 2.25rem 0.9rem;
  }

  .manifesto p {
    font-size: clamp(2.35rem, 14vw, 4.5rem);
    line-height: 0.84;
  }

  .contact-inner {
    gap: 2rem;
  }

  .direct-contact a {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .contact-form {
    padding: 0.9rem;
  }

  input,
  textarea {
    font-size: 16px;
    padding: 0.85rem;
  }

  textarea {
    min-height: 9rem;
  }

  .footer {
    padding: 1rem 0.9rem;
    font-size: 0.64rem;
    line-height: 1.35;
  }

  .site-preview-modal {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
  }

  .site-preview-window {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border: 0;
  }

  .site-preview-topbar {
    min-height: 56px;
    padding: 0.75rem 0.85rem;
    gap: 0.75rem;
  }

  .site-preview-topbar strong {
    display: block;
    max-width: 64vw;
    line-height: 1.15;
  }

  .preview-eyebrow {
    font-size: 0.55rem;
  }

  .preview-close {
    flex: 0 0 auto;
    padding: 0.72rem 0.82rem;
    font-size: 0.64rem;
  }

  .site-preview-frame {
    min-height: 0;
  }
}

@media (max-width: 380px) {
  h1 { font-size: clamp(2.7rem, 18vw, 4.7rem); }
  h2 { font-size: clamp(2.05rem, 14.5vw, 3.8rem); }
  .project-image { min-height: 12.25rem; }
  .project-image span { font-size: clamp(2.25rem, 14vw, 3.7rem); }
}
