:root {
  --cream: #f7f3ee;
  --parchment: #ede7dc;
  --blush: #e8d5cc;
  --sage: #c8d5c0;
  --dusty-blue: #c2cdd6;
  --mist: #d6d0e0;
  --ink: #2c2825;
  --ink-light: #6b6460;
  --accent: #b8896e;
  --accent-soft: #d4a892;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* Nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: linear-gradient(to bottom, var(--cream) 60%, transparent);
}

.nav-name {
  font-family: "Instrument Serif", serif;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.nav-link {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: var(--accent);
}

/* Sections */
section {
  padding: 6rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-headline {
  font-family: "Instrument Serif", serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 820px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.5s forwards;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  margin-top: 2.5rem;
  font-size: 1.05rem;
  color: var(--ink-light);
  max-width: 480px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.75s forwards;
}

.hero-cta-row {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 1s forwards;
}

.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  padding: 0.9rem 2.2rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.scroll-hint {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.scroll-hint::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--ink-light);
  animation: lineGrow 1.5s ease 1.5s both;
}

/* Floating shapes in hero */
.hero-shapes {
  position: absolute;
  top: 0;
  right: 0;
  width: 45vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: shapeFloat 1.2s ease forwards;
}
.shape-1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at 40% 40%, var(--blush), transparent 70%);
  top: 10%;
  right: 5%;
  animation-delay: 0.4s;
}
.shape-2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 50% 50%, var(--sage), transparent 70%);
  top: 50%;
  right: 30%;
  animation-delay: 0.7s;
}
.shape-3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle at 50% 50%,
    var(--dusty-blue),
    transparent 70%
  );
  top: 20%;
  right: 35%;
  animation-delay: 1s;
}

/* Divider */
.divider {
  width: 48px;
  height: 1px;
  background: var(--accent-soft);
  margin: 0 auto 3rem;
}

/* Section label */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-heading em {
  font-style: italic;
}

/* Intro / About strip */
.intro-strip {
  background: var(--parchment);
  border-radius: 24px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-text p {
  color: var(--ink-light);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.intro-text p strong {
  color: var(--ink);
  font-weight: 500;
}

.intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.tag {
  background: var(--cream);
  border: 1px solid var(--blush);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--ink-light);
}

.intro-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.intro-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--blush);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.intro-card:hover {
  transform: translateX(6px);
  box-shadow: -4px 4px 0 var(--blush);
}

.intro-card-icon {
  font-size: 1.4rem;
  line-height: 1;
  margin-top: 0.15rem;
}

.intro-card h4 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.intro-card p {
  font-size: 0.82rem;
  color: var(--ink-light);
  line-height: 1.5;
}

/* Work */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.work-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  transition: transform 0.4s ease;
}
.work-card:hover {
  transform: scale(1.02);
}
.work-card:hover .work-overlay {
  opacity: 1;
}
.work-card:hover .work-img {
  transform: scale(1.06);
}

.work-card.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

/* Work tiles — soft gradient cards */
.work-tile {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.wt-1 {
  background: linear-gradient(145deg, #f0d9d0 0%, #d9b5a5 50%, #c9a090 100%);
}
.wt-2 {
  background: linear-gradient(145deg, #d4e4ce 0%, #aeca9e 50%, #92b884 100%);
}
.wt-3 {
  background: linear-gradient(145deg, #ccd9e4 0%, #a2bece 50%, #88abbe 100%);
}
.wt-4 {
  background: linear-gradient(145deg, #ddd8ec 0%, #beb5d8 50%, #a89fc8 100%);
}
.wt-5 {
  background: linear-gradient(145deg, #e8ddd0 0%, #d0bfa8 50%, #beaa90 100%);
}

/* Subtle noise texture on tiles */
.work-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}

.work-tile-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 1;
}

.work-tile-type {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(44, 40, 37, 0.5);
  margin-bottom: 0.4rem;
}

.work-tile-name {
  display: block;
  font-family: "Instrument Serif", serif;
  font-size: 1.6rem;
  color: rgba(44, 40, 37, 0.75);
  line-height: 1.15;
}

.work-grid-5 {
  grid-template-columns: 1fr 1fr;
}
.work-card-wide {
  grid-column: span 2;
  aspect-ratio: 16/6;
}
.work-card-link {
  cursor: pointer;
}
.work-visit {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-family: "DM Sans", sans-serif;
}

/* Form thank you flip */
.contact-form-wrap {
  perspective: 1200px;
}

.form-inner {
  position: relative;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

.form-inner.flipped {
  transform: rotateY(180deg);
}

.form-front {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.form-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--parchment);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
}

.thankyou-icon {
  font-size: 3rem;
  margin-bottom: 1.2rem;
}

.thankyou-heading {
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.thankyou-text {
  color: var(--ink-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 40, 37, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-overlay h3 {
  font-family: "Instrument Serif", serif;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.3rem;
}

.work-overlay p {
  font-size: 0.83rem;
  color: rgba(247, 243, 238, 0.75);
  line-height: 1.5;
}

/* Process */
.process-section {
  background: var(--ink);
  color: var(--cream);
  border-radius: 28px;
  padding: 5rem;
}
.process-section .section-label {
  color: var(--accent-soft);
}
.process-section .section-heading {
  color: var(--cream);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: rgba(247, 243, 238, 0.12);
}

.process-step {
  position: relative;
  padding-top: 1rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(247, 243, 238, 0.2);
  border-radius: 50%;
  font-family: "Instrument Serif", serif;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  background: var(--ink);
  position: relative;
  z-index: 1;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}
.process-step:hover .step-num {
  background: var(--accent);
  border-color: var(--accent);
}

.process-step h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.process-step p {
  font-size: 0.83rem;
  color: rgba(247, 243, 238, 0.55);
  line-height: 1.7;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--parchment);
  border-radius: 20px;
  padding: 2.2rem;
  border: 1px solid var(--blush);
  position: relative;
  transition: transform 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: "\201C";
  font-family: "Instrument Serif", serif;
  font-size: 5rem;
  color: var(--blush);
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.93rem;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-family: "Instrument Serif", serif;
}

.testimonial-name {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--ink-light);
  margin-top: 0.15rem;
}

/* Contact */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  padding-bottom: 8rem;
}

.contact-form-wrap {
  background: var(--parchment);
  border-radius: 24px;
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--blush);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 100px;
  padding: 1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
  margin-top: 0.5rem;
}
.btn-submit:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.contact-info {
  padding-top: 1rem;
}

.contact-info .section-heading {
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--ink-light);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sage);
  border-radius: 100px;
  padding: 0.5rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #3a5c3a;
  margin-bottom: 2.5rem;
}

.availability-dot {
  width: 8px;
  height: 8px;
  background: #5a9b5a;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.contact-link:hover {
  color: var(--accent);
}

.contact-link-icon {
  width: 36px;
  height: 36px;
  background: var(--parchment);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.3s ease;
}
.contact-link:hover .contact-link-icon {
  background: var(--blush);
}

/* Footer */
footer {
  border-top: 1px solid var(--blush);
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

footer p {
  font-size: 0.8rem;
  color: var(--ink-light);
}

.footer-name {
  font-family: "Instrument Serif", serif;
  font-size: 1rem;
  color: var(--ink);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shapeFloat {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes lineGrow {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 32px;
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 1.2rem 1.5rem;
  }
  section {
    padding: 4rem 1.5rem;
  }
  .hero {
    padding: 7rem 1.5rem 4rem;
  }
  .intro-strip {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
  }
  .work-card {
    aspect-ratio: 5/3;
  }
  .work-grid {
    grid-template-columns: 1fr;
  }
  .work-card-wide {
    grid-column: span 1;
    aspect-ratio: 5/3;
  }
  .work-grid-5 {
    grid-template-columns: 1fr;
  }
  .work-card.tall {
    grid-row: auto;
  }
  .process-section {
    padding: 3rem 2rem;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .process-steps::before {
    display: none;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .contact-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .hero-shapes {
    display: none;
  }
  .hero-headline {
    font-size: clamp(2.6rem, 10vw, 4rem);
  }
}
