:root {
  --burnt-orange: #e67e22;
  --sand-cream: #fff5e8;
  --terracotta: #c96a35;
  --ivory: #fffcf7;
  --charcoal: #222222;
  --muted: rgba(34, 34, 34, 0.68);
  --border: rgba(34, 34, 34, 0.12);
  --panel: rgba(255, 252, 247, 0.84);
  --shadow: 0 30px 70px rgba(198, 106, 53, 0.12);
  --side-width: 6.75rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(230, 126, 34, 0.12), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(201, 106, 53, 0.1), transparent 24%),
    linear-gradient(180deg, #fffcf7 0%, #fff8ef 52%, #fffdf9 100%);
  color: var(--charcoal);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(34, 34, 34, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 34, 34, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 90%);
  opacity: 0.35;
}

main,
footer {
  position: relative;
  z-index: 1;
}

section {
  position: relative;
}

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

img {
  max-width: 100%;
  display: block;
}

.identity-panel {
  position: fixed;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: calc(var(--side-width) - 1.25rem);
  height: min(78vh, 42rem);
  border: 1px solid rgba(230, 126, 34, 0.16);
  background: linear-gradient(180deg, rgba(255, 245, 232, 0.98), rgba(255, 252, 247, 0.92));
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  z-index: 20;
  display: grid;
  place-items: center;
}

.identity-stack {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.35rem, 1.1vw + 1rem, 2rem);
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  color: var(--charcoal);
}

.top-links {
  position: fixed;
  right: 2rem;
  top: 1.5rem;
  z-index: 19;
  display: flex;
  gap: 1.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.top-links a,
.button,
.project-panel,
.service-card,
.contact-form button {
  transition: transform 0.45s ease, opacity 0.45s ease, border-color 0.45s ease, background 0.45s ease;
}

.top-links a {
  position: relative;
  padding-bottom: 0.2rem;
  color: rgba(34, 34, 34, 0.84);
}

.top-links a::after,
.button-secondary::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.top-links a:hover::after,
.button-secondary:hover::after {
  transform: scaleX(1);
}

.top-links a:hover,
.button:hover,
.project-panel:hover,
.service-card:hover,
.contact-form button:hover {
  transform: translateY(-2px);
}

.section-shell {
  padding-left: calc(var(--side-width) + 2.5rem);
  padding-right: 2.5rem;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  align-items: center;
  gap: 3rem;
  padding-top: 7.5rem;
  padding-bottom: 4rem;
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
  color: var(--terracotta);
}

.hero h1,
.story h2,
.section-heading h2,
.statement p,
.cta h2,
.contact-info h2,
.footer-watermark {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(4.2rem, 10vw, 8.5rem);
  max-width: 7ch;
  letter-spacing: -0.04em;
}

.hero-intro,
.story-text p,
.service-card p,
.project-panel span,
.contact-info p,
.footer-content p {
  font-size: clamp(0.98rem, 0.36vw + 0.9rem, 1.1rem);
  color: var(--muted);
}

.hero-intro {
  margin: 1.5rem 0 0;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.button-primary {
  background: var(--charcoal);
  color: var(--ivory);
}

.button-secondary {
  background: transparent;
  color: var(--charcoal);
  border-color: rgba(34, 34, 34, 0.22);
}

.hero-visual {
  position: relative;
  min-height: 42rem;
  display: grid;
  align-items: center;
  justify-items: center;
}

.visual-frame {
  position: absolute;
  inset: 6% 8% 10% 10%;
  border: 1px solid rgba(34, 34, 34, 0.08);
  transform: rotate(-5deg);
}

.visual-slab {
  position: absolute;
  left: 14%;
  top: 11%;
  width: 64%;
  height: 78%;
  background: linear-gradient(160deg, rgba(230, 126, 34, 0.92), rgba(201, 106, 53, 0.18) 58%, rgba(255, 245, 232, 0.3));
  clip-path: polygon(0 0, 68% 0, 100% 36%, 80% 100%, 16% 92%, 0 58%);
  box-shadow: 0 40px 80px rgba(198, 106, 53, 0.18);
}

.visual-orb {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.visual-orb-one {
  width: 14rem;
  height: 14rem;
  right: 2%;
  top: 12%;
  background: radial-gradient(circle at 35% 35%, #fff4e0 0%, rgba(255, 245, 232, 0.4) 20%, rgba(230, 126, 34, 0.86) 68%, rgba(201, 106, 53, 0.95) 100%);
}

.visual-orb-two {
  width: 18rem;
  height: 18rem;
  left: 0;
  bottom: 4%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 252, 247, 0.8) 0%, rgba(255, 245, 232, 0.68) 28%, rgba(230, 126, 34, 0.6) 100%);
}

.visual-arc {
  position: absolute;
  width: 16rem;
  height: 16rem;
  right: 12%;
  bottom: 8%;
  border: 26px solid rgba(34, 34, 34, 0.92);
  border-left-color: transparent;
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(18deg);
}

.visual-gridline {
  position: absolute;
  left: 22%;
  top: 12%;
  width: 1px;
  height: 72%;
  background: linear-gradient(180deg, transparent, rgba(34, 34, 34, 0.18), transparent);
}

.story,
.services,
.numbers,
.showcase,
.contact {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: start;
}

.story h2,
.section-heading h2,
.cta h2,
.contact-info h2 {
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  letter-spacing: -0.04em;
  max-width: 10ch;
}

.story-text {
  display: grid;
  gap: 1.1rem;
  max-width: 36rem;
  margin-top: 1rem;
}

.story-label {
  position: absolute;
  left: calc(var(--side-width) + 0.7rem);
  top: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(34, 34, 34, 0.44);
}

.section-heading {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.compact-heading {
  max-width: 36rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.service-card {
  padding: 1.4rem 1.35rem 1.6rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(255, 245, 232, 0.74));
  box-shadow: 0 16px 36px rgba(34, 34, 34, 0.04);
}

.service-card span {
  display: inline-block;
  margin-bottom: 2.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: rgba(34, 34, 34, 0.42);
}

.service-card h3,
.project-panel h3 {
  margin: 0 0 0.85rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 1.8vw, 2.5rem);
  line-height: 0.95;
}

.card-tall {
  min-height: 20rem;
}

.card-medium {
  min-height: 16rem;
  margin-top: 2rem;
}

.card-short {
  min-height: 13rem;
  margin-top: 4rem;
}

.statement {
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.statement p {
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.92;
  max-width: 11ch;
  letter-spacing: -0.05em;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.numbers-grid article {
  padding: 1.4rem 0.5rem 1.6rem;
  display: grid;
  gap: 0.2rem;
}

.numbers-grid strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.9;
}

.numbers-grid span {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(34, 34, 34, 0.5);
}

.showcase-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(20rem, 34vw);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
}

.project-panel {
  scroll-snap-align: start;
  min-height: 20rem;
  padding: 1.8rem;
  border: 1px solid rgba(34, 34, 34, 0.12);
  background: linear-gradient(160deg, rgba(255, 245, 232, 0.92), rgba(255, 252, 247, 0.84));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-panel p {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(34, 34, 34, 0.48);
}

.project-panel h3 {
  font-size: clamp(2.3rem, 3vw, 4rem);
}

.project-panel span {
  max-width: 25ch;
}

.cta {
  margin: 4rem 0;
  background: linear-gradient(90deg, var(--sand-cream) 0%, #ffe1be 48%, var(--burnt-orange) 100%);
}

.cta-inner {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

.cta h2 {
  max-width: 8ch;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.contact-info p:last-child {
  margin-bottom: 0;
  margin-top: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(34, 34, 34, 0.56);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(34, 34, 34, 0.22);
  background: transparent;
  padding: 0.85rem 0;
  font: inherit;
  color: var(--charcoal);
  outline: none;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(34, 34, 34, 0.36);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--burnt-orange);
}

.contact-form button {
  justify-self: start;
  margin-top: 0.5rem;
  cursor: pointer;
}

.footer {
  position: relative;
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.footer-watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  font-size: clamp(5rem, 14vw, 16rem);
  letter-spacing: 0.08em;
  color: rgba(34, 34, 34, 0.06);
  pointer-events: none;
  white-space: nowrap;
}

.footer-content {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
}

.footer-content p {
  max-width: 36rem;
}

.reveal {
  animation: fade-up 0.9s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1100px) {
  :root {
    --side-width: 5.75rem;
  }

  .hero,
  .story-grid,
  .contact,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 32rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-inner {
    align-items: start;
  }
}

@media (max-width: 760px) {
  :root {
    --side-width: 4.9rem;
  }

  .section-shell {
    padding-left: calc(var(--side-width) + 1.2rem);
    padding-right: 1.2rem;
  }

  .identity-panel {
    left: 0.65rem;
    width: calc(var(--side-width) - 0.25rem);
    height: min(72vh, 34rem);
  }

  .top-links {
    right: 1rem;
    gap: 0.8rem;
    font-size: 0.68rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 11rem;
  }

  .hero,
  .story,
  .services,
  .numbers,
  .showcase,
  .contact {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .hero {
    gap: 1.8rem;
  }

  .hero h1,
  .statement p {
    max-width: none;
  }

  .hero-visual {
    min-height: 24rem;
  }

  .visual-orb-one {
    width: 9rem;
    height: 9rem;
  }

  .visual-orb-two {
    width: 12rem;
    height: 12rem;
  }

  .visual-arc {
    width: 11rem;
    height: 11rem;
    border-width: 18px;
  }

  .story-label {
    left: calc(var(--side-width) + 0.35rem);
    top: 0.5rem;
  }

  .services-grid,
  .numbers-grid {
    grid-template-columns: 1fr;
  }

  .card-medium,
  .card-short {
    margin-top: 0;
  }

  .showcase-strip {
    grid-auto-columns: minmax(18rem, 82vw);
  }

  .cta-inner {
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}
