:root {
  --pink: #f7dce5;
  --light-pink: #fcecf1;
  --deep-pink: #aa516f;

  --black: #111111;
  --charcoal: #292929;
  --white: #fffdfd;
  --cream: #f8f4ef;

  --line: rgba(17, 17, 17, 0.16);

  --serif: "Cormorant Garamond", serif;
  --sans: "DM Sans", sans-serif;
}

/* Reset */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 1.25rem 5vw;

  background: rgba(255, 253, 253, 0.82);
  border-bottom: 1px solid transparent;

  backdrop-filter: blur(16px);

  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 253, 253, 0.96);
  border-color: var(--line);
}

/* Logo */

.brand,
.footer-brand {
  display: inline-flex;
  flex-direction: column;

  width: fit-content;

  line-height: 0.8;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-style: italic;
  font-weight: 600;
}

.brand-studio {
  margin-top: 0.5rem;

  font-size: 0.5rem;
  letter-spacing: 0.48em;
  text-align: center;
}

/* Navigation */

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;

  font-size: 0.86rem;
}

.site-nav a {
  position: relative;
}

.mobile-nav-only {
  display: none;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;

  height: 1px;

  background: var(--black);

  content: "";

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 0.25s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 0.85rem 1.1rem;

  border: 1px solid var(--black);

  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.nav-cta:hover {
  background: var(--black);
  color: var(--white);
}

/* Mobile menu button */

.menu-toggle {
  display: none;

  width: 2.4rem;
  height: 2.4rem;

  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;

  width: 100%;
  height: 1px;

  margin: 0.45rem 0;

  background: var(--black);
}

/* Global sections */

.section {
  padding: 8rem 7vw;
}

.eyebrow {
  margin-bottom: 1.25rem;

  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
}

/* Hero */

.hero {
  position: relative;

  min-height: 100vh;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 5vw;

  padding-top: 9rem;

  background:
    radial-gradient(
      circle at 78% 24%,
      rgba(255, 255, 255, 0.92),
      transparent 25%
    ),
    linear-gradient(
      115deg,
      var(--pink) 0%,
      var(--light-pink) 55%,
      var(--white) 100%
    );

  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 10%;
  right: -10%;

  width: 52vw;
  height: 52vw;

  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 50%;

  content: "";
}

.code-layer {
  position: absolute;
  top: 18%;
  right: 4%;

  max-width: 26rem;

  color: rgba(17, 17, 17, 0.055);

  font-family: monospace;
  font-size: clamp(1rem, 1.5vw, 1.65rem);
  line-height: 1.7;

  transform: rotate(90deg);
  transform-origin: center;

  user-select: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
}

h1 {
  max-width: 11ch;

  font-size: clamp(4.3rem, 8vw, 8.8rem);
  line-height: 0.83;
  letter-spacing: -0.055em;
}

.hero-subtext {
  max-width: 36rem;

  margin-top: 2rem;

  color: var(--charcoal);

  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;

  margin-top: 2.2rem;
}

/* Buttons */

.button {
  min-height: 3.25rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.95rem 1.4rem;

  border: 1px solid var(--black);

  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-dark {
  background: var(--black);
  color: var(--white);
}

.button-dark:hover {
  background: transparent;
  color: var(--black);
}

.text-link {
  padding-bottom: 0.25rem;

  border-bottom: 1px solid currentColor;

  font-size: 0.86rem;
  font-weight: 600;
}

.text-link span {
  display: inline-block;

  margin-left: 0.4rem;

  transition: transform 0.25s ease;
}

.text-link:hover span {
  transform: translate(4px, 4px);
}

/* Laptop */

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;

  perspective: 1000px;
}

.laptop {
  width: min(38rem, 95%);

  transform: rotateY(-9deg) rotateX(3deg);

  filter: drop-shadow(
    0 2rem 3rem rgba(17, 17, 17, 0.15)
  );

  transition: transform 0.4s ease;
}

.laptop:hover {
  transform:
    rotateY(-3deg)
    rotateX(1deg)
    translateY(-0.5rem);
}

.laptop-screen {
  min-height: 25rem;

  padding: 0.7rem;

  border: 0.7rem solid #222222;
  border-radius: 1rem 1rem 0.3rem 0.3rem;

  background: var(--black);
}

.browser-bar {
  display: flex;
  gap: 0.35rem;

  padding-bottom: 0.65rem;
}

.browser-bar span {
  width: 0.48rem;
  height: 0.48rem;

  border-radius: 50%;

  background: #e8e8e8;
}

.screen-content {
  min-height: 21.8rem;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 2rem;

  background:
    linear-gradient(
      145deg,
      var(--white),
      var(--pink)
    );
}

.screen-content p {
  margin-bottom: 2.5rem;

  font-size: 0.62rem;
  letter-spacing: 0.24em;
}

.screen-content h2 {
  max-width: 8ch;

  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 0.9;
}

.screen-content strong {
  margin-top: 1rem;

  font-size: 0.85rem;
  text-transform: uppercase;
}

.screen-button {
  width: fit-content;

  margin-top: 2rem;
  padding: 0.75rem 1rem;

  background: var(--black);
  color: var(--white);

  font-size: 0.63rem;
  letter-spacing: 0.16em;
}

.laptop-base {
  width: 112%;
  height: 1rem;

  margin-left: -6%;

  border-radius: 0 0 50% 50%;

  background:
    linear-gradient(
      #3c3c3c,
      #181818
    );
}

.scroll-note {
  position: absolute;
  bottom: 2rem;
  left: 7vw;

  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Moving ticker */

.ticker {
  overflow: hidden;

  background: var(--black);
  color: var(--white);

  white-space: nowrap;
}

.ticker-track {
  min-width: max-content;

  display: inline-flex;
  gap: 4rem;

  padding: 1.05rem 0;

  animation: ticker 22s linear infinite;
}

.ticker-track span {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* Strategy statement */

.statement {
  max-width: 90rem;

  margin: 0 auto;

  text-align: center;
}

.statement h2,
.section-heading h2,
.money-copy h2,
.about-copy h2,
.contact h2 {
  font-size: clamp(3.3rem, 6.5vw, 7.6rem);
  line-height: 0.93;
  letter-spacing: -0.045em;
}

.statement h2 {
  max-width: 13ch;

  margin: 0 auto;
}

.statement h2 em {
  display: block;

  color: var(--deep-pink);

  font-weight: 500;
}

.statement > p:last-child {
  max-width: 47rem;

  margin: 2rem auto 0;

  color: var(--charcoal);

  font-size: 1.07rem;
  line-height: 1.85;
}

/* Services */

.services {
  background: var(--cream);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: start;
  gap: 4rem;

  margin-bottom: 4rem;
}

.section-heading h2 {
  max-width: 12ch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 23rem;

  display: flex;
  flex-direction: column;

  padding: 2rem;

  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.service-card:hover {
  z-index: 2;

  background: var(--pink);

  transform: translateY(-0.35rem);
}

.service-card > span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.service-card h3 {
  margin-top: auto;

  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
  line-height: 0.92;
}

.service-card p {
  margin-top: 1.4rem;

  color: var(--charcoal);

  line-height: 1.7;
}

/* Money section */

.money-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;

  background: var(--pink);
}

.money-copy h2 {
  max-width: 8ch;
}

.money-copy > p:last-child {
  max-width: 40rem;

  margin-top: 2rem;

  line-height: 1.8;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;

  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metrics div {
  min-height: 12rem;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 1.5rem;

  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics span {
  font-family: var(--serif);
  font-size: 3rem;
}

.metrics p {
  font-weight: 600;
}

/* About */

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 8vw;
}

.photo-placeholder {
  aspect-ratio: 4 / 5;

  display: grid;
  place-items: center;

  border: 1px solid var(--black);

  background:
    linear-gradient(
      rgba(247, 220, 229, 0.7),
      rgba(247, 220, 229, 0.7)
    ),
    repeating-linear-gradient(
      45deg,
      transparent 0,
      transparent 12px,
      rgba(17, 17, 17, 0.05) 12px,
      rgba(17, 17, 17, 0.05) 13px
    );
}

.photo-placeholder span {
  padding: 0.7rem 1rem;

  background: var(--white);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-copy h2 {
  max-width: 12ch;
}

.about-copy > p:not(.eyebrow) {
  max-width: 42rem;

  margin-top: 1.5rem;

  color: var(--charcoal);

  line-height: 1.85;
}

/* Contact */

.contact {
  background: var(--black);
  color: var(--white);

  text-align: center;
}

.contact h2 {
  max-width: 12ch;

  margin: 0 auto;
}

.contact-copy {
  max-width: 42rem;

  margin: 1.8rem auto 0;

  color: rgba(255, 255, 255, 0.72);

  line-height: 1.8;
}

.contact-actions {
  justify-content: center;
}

.button-light {
  border-color: var(--white);

  background: var(--white);
  color: var(--black);
}

.button-light:hover {
  background: transparent;
  color: var(--white);
}

.light-link {
  color: var(--white);
}

/* Footer */

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 2rem;

  padding: 3rem 5vw;

  background: var(--black);
  color: var(--white);

  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

footer p {
  color: rgba(255, 255, 255, 0.65);

  font-size: 0.75rem;
}

/* Scroll animation */

.reveal {
  opacity: 0;

  transform: translateY(2rem);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}

/* Tablet */

@media (max-width: 980px) {

  .menu-toggle {
    z-index: 1001;

    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 0;

    display: none;
    flex-direction: column;
    justify-content: center;

    background: var(--pink);

    font-family: var(--serif);
    font-size: 2.5rem;

    overflow-y: auto;
  }

  .site-nav[data-menu-state="open"] {
    display: flex;
  }

  .mobile-nav-only {
    display: block;
  }

  .nav-cta {
    font-family: var(--sans);
    font-size: 0.8rem;
  }

  .hero,
  .money-section,
  .about,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 4rem;

    padding-top: 10rem;
  }

  .hero-copy {
    padding-top: 4rem;
  }

  .code-layer {
    display: none;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading {
    gap: 1rem;
  }

  footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

}

/* Mobile: keep page sections in normal document flow. */

@media (max-width: 768px) {

  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .site-header {
    position: sticky;
    top: 0;

    padding: 1rem 1.25rem;
  }

  .section {
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;

    padding: 4.5rem 1.25rem;
  }

  .hero,
  .statement,
  .services,
  .money-section,
  .about,
  .contact,
  .section-heading,
  .hero-copy,
  .hero-visual,
  .money-copy,
  .about-copy {
    position: relative;
    inset: auto;

    width: auto;
    min-width: 0;
    max-width: calc(100vw - 2.5rem);
    height: auto;
    min-height: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    transform: none;
  }

  .hero,
  .statement,
  .services,
  .money-section,
  .about,
  .contact {
    width: auto;
    max-width: none;
  }

  h1,
  .statement h2,
  .section-heading h2,
  .money-copy h2,
  .about-copy h2,
  .contact h2 {
    position: static;

    max-width: 100%;

    margin-right: 0;
    margin-left: 0;

    width: auto;
    min-width: 0;
    max-width: calc(100vw - 2.5rem);

    font-size: clamp(2.65rem, 12vw, 4.75rem);
    line-height: 0.94;
    letter-spacing: -0.04em;

    overflow-wrap: anywhere;
    transform: none;
  }

  .hero {
    gap: 3rem;

    padding:
      4.5rem
      1.25rem
      4.5rem;
  }

  .hero::before {
    content: none;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-subtext,
  .statement > p:last-child,
  .money-copy > p:last-child,
  .about-copy > p:not(.eyebrow),
  .contact-copy {
    position: static;

    width: auto;
    min-width: 0;
    max-width: calc(100vw - 2.5rem);

    font-size: 1rem;
    line-height: 1.65;

    transform: none;
  }

  .hero-actions,
  .contact-actions {
    position: static;

    width: auto;

    align-items: stretch;
    flex-direction: column;
    gap: 0.75rem;

    margin-top: 1.75rem;

    transform: none;
  }

  .button,
  .text-link {
    position: static;

    width: auto;

    transform: none;
  }

  .reveal,
  .reveal.visible,
  .laptop,
  .laptop:hover,
  .service-card,
  .service-card:hover {
    transform: none;
  }

  .text-link {
    padding: 0.9rem 0;

    text-align: center;
  }

  .laptop-screen {
    height: auto;
    min-height: 18rem;
  }

  .screen-content {
    height: auto;
    min-height: 14.8rem;

    padding: 1.25rem;
  }

  .laptop-base {
    width: 100%;
    margin-left: 0;
  }

  .scroll-note {
    position: static;

    margin-top: 0.5rem;
  }

  .service-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .service-card {
    height: auto;
    min-height: 18rem;
  }

  .about {
    gap: 4rem;
  }

  .section-heading {
    gap: 1.25rem;
    margin-bottom: 3rem;
  }

  .money-section {
    gap: 3rem;
  }

  .statement,
  .contact {
    text-align: left;
  }

  .statement h2,
  .statement > p:last-child,
  .contact h2,
  .contact-copy {
    margin-left: 0;
    margin-right: 0;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .about .designer-photo {
    width: min(100%, 320px);
    height: auto;
  }

}
.designer-photo {
  width: 320px;
  max-width: 100%;
  height: 420px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}

