/* ---------- Design tokens (from Figma) ---------- */
:root {
  --purple: #210d3a;      /* hero bg / card CTA button bg */
  --purple-dark: #160826; /* footer bg / heading + card text colour */
  --pink: #fe4f9f;
  --body-text: #0b0413;
  --text-on-light: #505050; /* contact page body/detail text */
  --btn-dark-text: #150101;
  --card-border: rgba(186, 186, 186, 0.25);
  --card-shadow: 0px 4px 12.75px rgba(0, 0, 0, 0.12);
  --sda-bg: #e7e6e6;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  --content-max: 1152px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: 16px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
}

.accent { color: var(--pink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 8px;
  padding: 4px 4px 4px 16px;
  transition: background-color 0.2s ease;
}

.btn-label { padding-top: 2px; }
.btn-icon { flex-shrink: 0; }

.btn-pink {
  background: var(--pink);
  color: var(--btn-dark-text);
}
.btn-pink:hover,
.btn-pink:focus-visible {
  background: #ff77b8;
}

.btn-dark {
  background: var(--purple);
  color: #fff;
}
.btn-dark:hover,
.btn-dark:focus-visible {
  background: #452473;
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 8px;
}

.logo { display: block; line-height: 0; }

.main-nav {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding-top: 4px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.2;
  color: var(--purple);
  text-decoration: none;
  display: block;
  text-align: center;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--pink);
}

.nav-link.active {
  color: var(--pink);
  padding-bottom: 0;
}

.nav-link.active::after {
  content: "";
  display: block;
  height: 4px;
  background: var(--pink);
  margin-top: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--purple);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 40px;
}

.hero-title {
  font-size: 45px;
  line-height: 1.2;
}

.hero-title .line-white { color: #fff; display: block; }
.hero-title .line-pink { color: var(--pink); display: block; }

.hero-copy {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
}

.hero-copy .accent { font-weight: 500; }

.about-tags {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
}
.about-tags .bullet { color: var(--pink); }

/* ---------- About page ---------- */
.about-content {
  padding-block: 20px;
  background: #fff;
}

.about-intro {
  max-width: 835px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: var(--body-text);
}
.about-intro p { margin: 0 0 20px; }
.about-intro p:last-child { margin-bottom: 0; }

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 13px;
  max-width: 243px;
  margin: 0 auto;
  padding-block: 40px;
}

.skill-icon { flex-shrink: 0; width: 51px; height: 51px; }

/* ---------- Contact page ---------- */
.contact-content {
  padding-block: 20px;
  background: #fff;
}

.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-media {
  position: relative;
  width: 100%;
  max-width: 343px;
  aspect-ratio: 343 / 466.48;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}
.contact-media img {
  position: absolute;
  width: 100%;
  height: 110.29%;
  top: -2.27%;
  left: 0.04%;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-intro {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-on-light);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}
.contact-row img { flex-shrink: 0; }
.contact-row span {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-on-light);
}

.contact-row--email { order: 1; }
.contact-row--phone { order: 2; }

/* ---------- Case study pages ---------- */
.case-section {
  background: #fff;
  padding-block: 20px;
}
.case-section--email { padding-top: 20px; }

.email-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.case-header-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.case-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.2;
  color: #141c21;
}

.case-subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: #141c21;
}

.case-description {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-on-light);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border: 1px solid #b5aebd;
  border-radius: 24px;
  background: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 8px;
  line-height: 1.5;
  color: #767473;
  white-space: nowrap;
}

.case-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.case-image {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.case-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Exact crop from the Figma file: image scaled/positioned beyond a plain cover fit */
.case-image--phone-crop img {
  position: absolute;
  max-width: none;
  width: 102.72%;
  height: 115.48%;
  left: -1.25%;
  top: -6.22%;
}

.case-image--logo-crop img {
  position: absolute;
  max-width: none;
  width: 104.98%;
  height: 100%;
  left: -2.49%;
  top: 0;
}

/* Exact crop from the Figma file: both photos are the same source image, tilted and
   zoomed to a different region of it */
.case-image--tilt { --tilt: rotate(-0.28deg); transform: rotate(-0.28deg); }
.case-image--tilt img {
  position: absolute;
  max-width: none;
  width: 225.45%;
  height: 212.56%;
  left: -11.45%;
  top: -99.91%;
}

.case-image--tilt-reverse { --tilt: rotate(-0.28deg); transform: rotate(-0.28deg); }
.case-image--tilt-reverse img {
  position: absolute;
  max-width: none;
  width: 228.98%;
  height: 215.9%;
  left: -117.05%;
  top: -101.81%;
}

.case-image--wide {
  width: 100%;
  margin-top: 20px;
  border: 1px solid #bababa;
}

.case-image--social-crop img {
  position: absolute;
  max-width: none;
  width: 100%;
  height: 133.33%;
  left: 0;
  top: -5.24%;
}

.case-image--whatsapp-crop img {
  position: absolute;
  max-width: none;
  width: 113.57%;
  height: 150.11%;
  left: 0.01%;
  top: -48.48%;
}

/* Side-by-side layout: fixed square media beside text (e.g. Social Ads section) */
.case-side-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-side-media {
  position: relative;
  width: 100%;
  max-width: 343px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}
.case-side-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.case-description strong { font-weight: 600; }

.case-reflection {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: #141c21;
}

/* Email preview mockup */
.email-preview {
  order: 2;
  width: 100%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0px 3px 1px rgba(0, 0, 0, 0.25);
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.email-preview-header { width: 100%; }

.email-avatar {
  display: block;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #000;
  border: 1px solid #e3e5f0;
}

.email-preview-header {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.email-preview-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
  font-family: 'Inter', var(--font-body);
}

.email-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.email-from {
  font-size: 6px;
  color: #636363;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.email-from strong { color: #000; font-weight: 600; }

.email-unsub { color: #636363; text-decoration: underline; margin-left: 4px; }

.email-time-group {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.email-time { font-size: 6px; color: #636363; white-space: nowrap; }

.email-to {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 7px;
  color: #636363;
}

.email-preview-body {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 335.648 / 333.986;
}
/* The creative renders as a narrow centred strip on the black card, not a full-bleed cover crop */
.email-preview-body img {
  position: absolute;
  max-width: none;
  width: 36.16%;
  height: auto;
  left: 50%;
  top: 0.86%;
  transform: translateX(-50%);
}

/* Two-up mini email cards (e.g. UKDE Email Campaigns section) */
.email-card {
  width: 100%;
  aspect-ratio: 343 / 324.114;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.email-card-body {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #1a4f65;
  border-radius: 11px;
  overflow: hidden;
}
.email-card-media {
  position: absolute;
  left: 49.18%;
  top: -1.18%;
  transform: translateX(-50%);
  background: #fff;
  overflow: hidden;
}
.email-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.email-card-body--3 .email-card-media { width: 57.22%; height: 198.15%; }
.email-card-body--1 .email-card-media { width: 56.32%; height: 174.81%; background: #1a4f65; }

/* email_1 card: a narrower inset window within the card, teal background showing at the
   edges, with a further zoomed crop of the image inside that window */
.email-card-media-crop {
  position: absolute;
  overflow: hidden;
}
.email-card-body--1 .email-card-media-crop {
  width: 94.71%;
  height: 100%;
  left: 2.65%;
  top: 0;
}
.email-card-media-crop img {
  position: absolute;
  max-width: none;
  display: block;
}
.email-card-body--1 .email-card-media-crop img {
  width: 111.7%;
  height: 99.97%;
  left: -5.85%;
  top: 0;
}

/* Project prev/next navigation */
.project-nav {
  display: flex;
  width: 100%;
}

.project-nav-btn {
  flex: 1 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 10px;
  background: var(--pink);
  color: var(--purple-dark);
  font-family: var(--font-display);
  font-size: 18px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.project-nav-btn:first-child { border-right: 0.5px solid var(--purple); }
.project-nav-btn:hover,
.project-nav-btn:focus-visible {
  background: var(--purple);
  color: #fff;
}

/* ---------- Projects ---------- */
.projects {
  padding-block: 20px;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 35px;
  color: var(--body-text, #0c1b33);
  margin-bottom: 8px;
}

.section-copy {
  max-width: 835px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--body-text);
}

.project-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-card {
  width: 100%;
  max-width: 870px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: 24px;
  padding: 12px;
}

.project-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 10px;
}

.project-media {
  order: -1;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

.project-media--sda { background: var(--sda-bg); }
.project-media--ukde { background: var(--sda-bg); }

.project-media img { position: absolute; max-width: none; }

/* Exact crop percentages from the Figma file (image position relative to its 1:1 frame) */
.project-media--hilton img {
  width: 104.28%;
  height: auto;
  top: 1.14%;
  left: -2.14%;
}

.project-media--sda img {
  width: 132.31%;
  height: 88.21%;
  left: -11.84%;
  top: 11.69%;
}

.project-media--ukde img {
  width: 143.87%;
  height: 100%;
  left: -29.37%;
  top: 0.1%;
}

.project-tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  color: var(--purple-dark);
}

.project-title {
  font-size: 32px;
  line-height: 1.2;
  color: var(--purple-dark);
}
.project-title--lower { text-transform: none; }

.project-copy {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
  color: var(--purple-dark);
  margin: 0;
}

.project-copy--desktop { display: none; }
.project-copy--mobile { display: block; }

/* ---------- CTA / footer ---------- */
.cta {
  background: var(--purple-dark);
  padding-top: 60px;
  padding-bottom: 20px;
}

.cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.cta-title {
  font-size: 35px;
  color: #fff;
  margin: 0;
}

.cta-copy {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
}

.footer-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--pink);
  padding-block: 8px;
  margin-top: 12px;
}

.social-link { line-height: 0; }

/* ---------- Desktop layout (Figma "Desktop" frame, 1728px canvas) ---------- */
@media (min-width: 900px) {
  .container { padding-inline: 0; }

  .header-inner { padding-block: 8px; }
  .main-nav { gap: 16px; }

  .hero-inner { padding-top: 120px; padding-bottom: 60px; gap: 24px; }
  .hero-title { font-size: 80px; }
  .hero-copy { font-size: 20px; }
  .about-tags { font-size: 20px; font-weight: 400; }

  .projects { padding-block: 40px; }
  .section-title { font-size: 50px; margin-bottom: 0; }
  .section-copy { font-size: 20px; line-height: 1.2; }

  .about-content { padding-block: 40px; }
  .about-intro { font-size: 20px; }
  .about-intro p { margin-bottom: 24px; }
  .skills-grid { max-width: none; flex-wrap: nowrap; }

  .contact-content { padding-block: 40px; }
  .contact-layout { flex-direction: row; align-items: center; gap: 80px; }
  .contact-media { width: 500px; max-width: 500px; aspect-ratio: 500 / 680; margin: 0; flex-shrink: 0; }
  .contact-details { flex: 1 1 0; gap: 20px; }
  .contact-intro,
  .contact-row span { font-size: 20px; }
  .contact-row--email { order: 2; }
  .contact-row--phone { order: 1; }

  .project-list { margin-top: 24px; gap: 24px; }

  .project-body {
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }
  .project-text { flex: 1 1 0; padding: 10px 0 10px 10px; }
  .project-media {
    order: 1;
    width: 350px;
    height: 350px;
    flex-shrink: 0;
    border-radius: 20px;
  }

  .project-media--hilton img {
    width: 105.71%;
    height: auto;
    top: 0.78%;
    left: -4%;
  }

  .project-title { font-size: 50px; white-space: nowrap; }
  .project-copy { font-size: 14px; }
  .project-copy--mobile { display: none; }
  .project-copy--desktop { display: block; }

  .cta { padding-top: 96px; padding-bottom: 40px; }
  .cta .container { gap: 24px; }
  .cta-title { font-size: 50px; }
  .cta-copy { font-size: 20px; }

  .case-section { padding-block: 40px; }
  .case-section--email { padding-top: 80px; padding-bottom: 40px; }
  .case-section--last { padding-top: 40px; padding-bottom: 80px; }

  .email-layout { flex-direction: row; align-items: center; gap: 80px; }
  .email-preview { order: 0; width: 500px; flex-shrink: 0; padding: 6px; border-radius: 20px; gap: 9px; }
  .email-avatar { width: 24px; height: 24px; }
  .email-from { font-size: 7px; }
  .email-time { font-size: 7px; }
  .email-to { font-size: 8px; }
  .email-preview-body { border-radius: 20px; aspect-ratio: 487.86 / 485.584; }

  .case-content { gap: 24px; }
  .case-title { font-size: 36px; line-height: 1.15; }
  .case-description { font-size: 20px; }
  .case-images { flex-direction: row; gap: 24px; }
  .case-image { border-radius: 20px; }
  .case-image--wide { margin-top: 24px; }
  .case-image--whatsapp-crop img { width: 113.48%; height: 149.99%; left: 0; top: -50.16%; }

  .case-side-layout { flex-direction: row; align-items: center; gap: 80px; }
  .case-side-media { width: 500px; max-width: 500px; flex-shrink: 0; }

  .email-card { aspect-ratio: 563 / 532; border-radius: 20px; padding: 6px; gap: 9px; }
  .email-card-body { border-radius: 20px; }
  .email-card-media { left: 49.27%; }
  .email-card-body--3 .email-card-media { width: 58.35%; height: 197.79%; }
  .email-card-body--1 .email-card-media { width: 57.27%; height: 174.39%; background: #fff; }

  /* email_1 inset crop is mobile-only; desktop stays a plain full-bleed cover fill */
  .email-card-body--1 .email-card-media-crop { width: 100%; height: 100%; left: 0; top: 0; }
  .email-card-body--1 .email-card-media-crop img { width: 100%; height: 100%; left: 0; top: 0; object-fit: cover; }

  .case-reflection { font-size: 20px; }

  .project-nav-btn { font-size: 35px; padding-block: 30px; }
  .footer-nav { padding-block: 12px; margin-top: 24px; }
}

/* ---------- Contact form (contact-test.html) ---------- */
.hero--form .hero-inner { padding-block: 20px; gap: 16px; }
.hero--form .about-tags { font-size: 15px; font-weight: 500; }

.contact-content--form .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-intro {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-on-light);
}

.contact-form-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form {
  position: relative;
  background: #fff;
  border: 1px solid #e7e3ec;
  border-radius: 20px;
  padding: 20px;
}
.contact-form [hidden] { display: none !important; }

.form-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: var(--purple);
}

.form-input {
  display: block;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--purple);
  background: #fff;
  border: 1px solid #d9d4e0;
  border-radius: 8px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-input::placeholder { color: #8f8a96; opacity: 1; }
textarea.form-input { min-height: 160px; resize: vertical; }

/* Focus / error use a 2px border; padding drops by 1px so the text doesn't shift */
.form-input:focus {
  padding: 13px 15px;
  border: 2px solid var(--pink);
  box-shadow: 0 0 0 4px rgba(254, 79, 159, 0.2);
}
.form-field.is-error .form-input {
  padding: 13px 15px;
  border: 2px solid #d92d20;
  box-shadow: none;
}

.form-error {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: #d92d20;
}

/* Honeypot: invisible to people, tempting to bots */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-slot {
  width: 300px;
  max-width: 100%;
  min-height: 65px;
}

.form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px 10px;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: var(--purple-dark);
  background: var(--pink);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.form-button:hover,
.form-button:focus-visible {
  color: #fff;
  background: var(--purple);
}
.form-button:disabled,
.form-button[aria-busy="true"] {
  color: #fff;
  background: var(--purple);
  opacity: 0.6;
  cursor: default;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.form-success:focus { outline: none; }
.contact-form.is-sent {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-form.is-sent .form-success {
  align-items: center;
  text-align: center;
}
.form-success-title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  color: var(--purple);
}
.form-success-text {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-on-light);
}
.form-success-again {
  padding: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: var(--purple);
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}
.form-success-again:hover,
.form-success-again:focus-visible { color: var(--pink); }

.contact-form-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-block: 40px;
}

@media (min-width: 900px) {
  .hero--form .about-tags { font-size: 20px; }

  .contact-content--form .container { gap: 24px; }
  .contact-form-intro { font-size: 20px; text-align: center; }

  .contact-form-layout { flex-direction: row; align-items: flex-start; gap: 80px; }
  .contact-form-layout .contact-media {
    width: 538px;
    max-width: 538px;
    aspect-ratio: 538 / 731;
    margin: 0;
    flex-shrink: 0;
  }
  .contact-form-column {
    flex: 1 1 0;
    min-width: 0;
    align-self: stretch;
    justify-content: center;
  }

  .contact-form { padding: 32px; }
  .contact-form-details { gap: 20px; padding-block: 0; }
}

/* Scroll-reveal: fade + rise as content enters the viewport */
.reveal {
  opacity: 0;
  transform: translateY(28px) var(--tilt, rotate(0deg));
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) var(--tilt, rotate(0deg));
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: var(--tilt, none);
    transition: none;
  }
}
