/* ==========================================================================
   Red Crab Media: shared stylesheet (used by every page)

   Contents
   1. Fonts
   2. Brand settings (colors, fonts, spacing). Change these in one place.
   3. Base
   4. Layout helpers
   5. Buttons and links
   6. Header
   7. Section headings
   8. Services (approved design: numbered rows)
   9. Pricing (approved design: plan cards)
   10. FAQ accordion
   11. Placeholders (anything not final yet)
   12. Small shared pieces (hero buttons, "Why" items, video frames)
   13. Footer
   Then: HOMEPAGE SECTIONS, and INNER PAGES (page heading, Portfolio,
   Plans & Pricing, About, legal pages)
   ========================================================================== */


/* 1. Fonts (files live in assets/fonts, nothing is loaded from other sites) */

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


/* 2. Brand settings */

:root {
  /* Colors */
  --red: #E63946;         /* Crab Red: accent only */
  --red-hover: #EC5560;   /* Crab Red, a little lighter, for button hover */
  --black: #0D0D0F;       /* Cut Black: page background */
  --white: #F5F4F0;       /* Frame White: main text */
  --surface: #17171B;     /* Surface: raised areas */
  --line: #3A3A42;        /* Clip Gray: lines and borders */
  --line-soft: #2A2A30;   /* Clip Gray, quieter: card borders */
  --gray: #A8A8B0;        /* Soft Gray: secondary text */
  --light-clip: #C9C7C0;  /* Light Clip */

  /* Fonts */
  --font-head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Spacing and shape */
  --page-width: 1200px;
  --page-gutter: 24px;
  --section-space: clamp(56px, 8vw, 120px); /* space above and below each section */
  --radius-card: 20px;
  --radius-button: 10px;
}


/* 3. Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

/* Line endings: a single word is never left alone on the last line.
   Headings and short centered text split into even lines ("balance");
   everything else just avoids a lone last word ("pretty").
   js/site.js adds a safety net for browsers that ignore these. */
h1, h2, h3 {
  font-family: var(--font-head);
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

.section-head.center .sub,
.pricing-note,
.placeholder,
.placeholder-note {
  text-wrap: balance;
}

img {
  max-width: 100%;
  height: auto;
}

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

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--white);
  color: var(--black);
  font-weight: 600;
  border-radius: 8px;
}
.skip-link:focus {
  top: 16px;
}


/* 4. Layout helpers */

/* Text for screen readers only (not shown on screen) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  width: min(100% - (var(--page-gutter) * 2), var(--page-width));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}


/* 5. Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

/* Main button: Crab Red with Cut Black text */
.btn-primary {
  background-color: var(--red);
  color: var(--black);
}
.btn-primary:hover {
  background-color: var(--red-hover);
}

.btn-outline {
  border-color: var(--line);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--gray);
}

.btn-light {
  background-color: var(--white);
  color: var(--black);
}
.btn-light:hover {
  background-color: var(--light-clip);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Red text link with an arrow */
.link-arrow {
  color: var(--red);
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
}
.link-arrow:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}


/* 6. Header */

.site-header {
  position: relative;
  z-index: 10;
  background-color: var(--black); /* solid bar: the logo never sits on the glow */
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: 84px;
}

.logo {
  display: block;
  margin-left: -11px; /* the logo file has clear space built in */
}
.logo img {
  display: block;
  width: auto;
  height: 60px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-nav a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
}
.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-button);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 719px) {
  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
  }
  .js .site-nav {
    display: none;
  }
  .js .site-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 4px var(--page-gutter) 24px;
    background-color: var(--black);
    border-bottom: 1px solid var(--line);
  }
  .js .site-nav.open a:not(.btn) {
    padding: 16px 0;
    font-size: 17px;
    border-top: 1px solid var(--line-soft);
  }
  .js .site-nav.open .btn {
    margin-top: 12px;
  }
}


/* 7. Section headings: red label, large heading, grey subheading */

.label {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
}

.section-head h2 {
  max-width: 780px;
  margin-top: 14px;
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.section-head .sub {
  max-width: 640px;
  margin-top: 18px;
  color: var(--gray);
  font-size: 18px;
}

.section-head.center {
  text-align: center;
}
.section-head.center h2,
.section-head.center .sub {
  margin-inline: auto;
}


/* 8. Services (approved design: six numbered rows, thin dividers) */

.service-rows {
  margin-top: 56px;
  border-bottom: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 47.4%;
  align-items: center; /* number, title and description share one vertical middle */
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.service-num {
  color: var(--red);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.service-row h3 {
  padding-right: 64px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
}

.service-row p {
  color: var(--gray);
}

.service-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 56px;
}
.service-foot p {
  color: var(--gray);
  font-size: 15px;
}
.service-foot .link-arrow {
  font-size: 15px;
}

@media (max-width: 899px) {
  .service-row {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 26px 0;
  }
  .service-row h3 {
    padding-right: 0;
    font-size: 22px;
  }
  .service-row p {
    grid-column: 2;
    padding-top: 10px;
  }
  .service-rows {
    margin-top: 40px;
  }
  .service-foot {
    margin-top: 32px;
  }
}


/* 9. Pricing (approved design: plan cards, Growth outlined in red) */

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 34px 32px 32px;
  background-color: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
}

.plan-featured {
  border-color: var(--red);
}

/* Hover: a very soft red glow around the card (only on devices with a cursor).
   To make it stronger or weaker, change the last number in each rgba(). */
.plan,
.plan-custom {
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
@media (hover: hover) {
  .plan:hover,
  .plan-custom:hover {
    border-color: var(--line);
    box-shadow: 0 0 56px rgba(230, 57, 70, 0.1);
  }
  .plan-featured:hover {
    border-color: var(--red);
    box-shadow: 0 0 56px rgba(230, 57, 70, 0.16);
  }
}

.plan-wide {
  grid-column: 1 / -1;
}

.plan-name {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.plan-for {
  margin-top: 6px;
  color: var(--gray);
  font-size: 15px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 26px;
}
.plan-price .amount {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.plan-price .per {
  color: var(--gray);
  font-size: 15px;
}

.plan-credits {
  margin-top: 26px;
  padding: 16px 18px;
  background-color: var(--black);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}
.credits-line {
  color: var(--gray);
  font-size: 14px;
}
.credits-line strong {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
}
.credits-note {
  margin-top: 2px;
  color: var(--gray);
  font-size: 14px;
}

.plan-features {
  display: grid;
  gap: 12px;
  margin: 26px 0 28px;
  font-size: 15px;
  line-height: 1.45;
}
.plan-features li {
  position: relative;
  padding-left: 28px;
}
/* Red check mark */
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23E63946' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") no-repeat center / contain;
}
.plan-features .strong {
  font-weight: 600;
}

.plan .btn {
  margin-top: auto;
}

.plan-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: 56px;
  padding: 32px;
  background-color: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-card);
}
.plan-custom h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}
.plan-custom p {
  max-width: 880px;
  margin-top: 8px;
  color: var(--gray);
  font-size: 16px;
}
.plan-custom .btn {
  flex: none;
}

.pricing-more {
  margin-top: 56px;
  text-align: center;
}
.pricing-note {
  margin-top: 22px;
  color: var(--gray);
  font-size: 14px;
}

@media (max-width: 699px) {
  .plans {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }
  .plan {
    padding: 28px 24px 24px;
  }
  .plan-price .amount {
    font-size: 42px;
  }
  .plan-custom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 24px;
    padding: 28px 24px;
  }
  .pricing-more {
    margin-top: 40px;
  }
  .pricing-more .btn {
    display: flex;
    min-height: 56px;
    padding-block: 10px;
  }
}


/* 10. FAQ accordion (one question open at a time) */

.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary h3 {
  font-size: clamp(18px, 1.7vw, 21px);
  font-weight: 500;
  line-height: 1.35;
}
.faq-list summary:hover h3 {
  color: var(--light-clip);
}

/* Plus sign that becomes a minus sign when the question is open */
.faq-icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background-color: var(--red);
}
.faq-icon::after {
  transform: rotate(90deg);
}
.faq-list details[open] .faq-icon::after {
  display: none;
}

.faq-answer {
  max-width: 760px;
  padding: 0 42px 28px 0;
  color: var(--gray);
}
.faq-answer a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* 11. Placeholders: anything in [square brackets] that is not final yet */

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background-color: var(--surface);
  color: var(--gray);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.placeholder-note {
  color: var(--gray);
  font-size: 14px;
}

/* A placeholder inside a sentence, for example [Effective date] */
.ph {
  border-bottom: 1px dashed var(--gray);
}


/* 12. Small shared pieces */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* "Why" items (approved pattern: thick red top rule, Poppins title, grey text) */
.why-item {
  padding-top: 22px;
  border-top: 4px solid var(--red);
}
.why-item h3 {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
}
.why-item p {
  margin-top: 10px;
  color: var(--gray);
  font-size: 16px;
}

/* Video frames (placeholders until the portfolio videos are ready) */
.frame {
  aspect-ratio: 16 / 9;
}
.frame-tall {
  aspect-ratio: 9 / 16;
}


/* 13. Footer */

.site-footer {
  padding: 72px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 48px;
}

.footer-brand p {
  margin-top: 6px;
  color: var(--gray);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
}
.footer-nav h2 {
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-nav ul {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  font-size: 15px;
}
.footer-nav li a {
  overflow-wrap: anywhere;
}
.footer-nav li a:hover {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 5px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  color: var(--gray);
  font-size: 14px;
}

@media (max-width: 799px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 519px) {
  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }
  /* Contact gets the full width so the email address stays on one line */
  .footer-nav > div:last-child {
    grid-column: 1 / -1;
  }
}


/* ==========================================================================
   HOMEPAGE SECTIONS (hero, intro, steps, why, work, FAQ layout, closing)
   ========================================================================== */

/* Soft red glow at the top of a page: add class="has-glow" to <body>.
   Two stops only. It starts under the header bar. */
.has-glow {
  background-image: radial-gradient(ellipse 880px 560px at 50% -60px, rgba(230, 57, 70, 0.17), rgba(230, 57, 70, 0));
  background-repeat: no-repeat;
}

/* Dot pattern that sits inside the glow and fades out with it */
.glow-dots {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 620px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 880px 560px at 50% -60px, #000, rgba(0, 0, 0, 0));
  mask-image: radial-gradient(ellipse 880px 560px at 50% -60px, #000, rgba(0, 0, 0, 0));
}

.section-head.center h2 {
  max-width: 900px;
}


/* Hero */

.hero {
  padding-top: clamp(56px, 8vw, 120px);
  padding-bottom: clamp(32px, 5vw, 72px);
  text-align: center;
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(34px, 10.4vw, 116px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: wrap;
}
.hero h1 span {
  display: block;
}
.hero h1 .accent {
  color: var(--red);
}

.hero-sub {
  max-width: 660px;
  margin: 28px auto 0;
  color: var(--gray);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  justify-content: center;
  margin-top: 36px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  margin-top: 40px;
  color: var(--gray);
  font-size: 15px;
}
.hero-facts li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 10px;
  border-radius: 50%;
  background-color: var(--red);
  vertical-align: middle;
}

/* Wide video frame under the headline (placeholder until a real frame or reel is ready) */
.hero-frame {
  flex-direction: column;
  gap: 18px;
  max-width: 1040px;
  margin: clamp(56px, 8vw, 104px) auto 0;
  border-radius: 18px;
}
.play-mark {
  position: relative;
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.play-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -11px 0 0 -6px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--gray);
}

@media (max-width: 599px) {
  .hero-facts {
    flex-direction: column;
    align-items: center;
  }
  .play-mark {
    width: 52px;
    height: 52px;
  }
  .play-mark::after {
    margin: -8px 0 0 -4px;
    border-width: 8px 0 8px 13px;
  }
}


/* Short centered text splits into even lines */

.hero-sub,
.step p,
.cta-text p {
  text-wrap: balance;
}


/* Intro: one large centered statement */

.intro {
  padding-block: clamp(80px, 13vw, 190px);
  text-align: center;
}
.intro h2 {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(30px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.intro p {
  max-width: 720px;
  margin: 28px auto 0;
  color: var(--gray);
  font-size: clamp(18px, 1.6vw, 21px);
}


/* How it works: three steps along a timeline, a red cut mark at each one */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.step {
  position: relative;
  padding-top: 44px;
}
.step::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 2px;
  height: 19px;
  margin-left: -1px;
  background-color: var(--red);
}
.step-num {
  display: block;
  color: var(--red);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.step h3 {
  margin-top: 12px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.25;
}
.step p {
  max-width: 320px;
  margin: 12px auto 0;
  color: var(--gray);
}

@media (max-width: 799px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 44px;
    margin-top: 56px;
    border-top: 0;
  }
  .step {
    padding-top: 36px;
    border-top: 1px solid var(--line);
  }
}


/* Why Red Crab Media: two rows on wide screens, two wide items then three */

.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 56px 32px;
  margin-top: 72px;
}
.why-item {
  grid-column: span 2;
  padding-top: 26px;
}
.why-item:nth-child(-n + 2) {
  grid-column: span 3;
}
.why-item h3 {
  font-size: clamp(22px, 1.9vw, 26px);
}
.why-item p {
  max-width: 460px;
  margin-top: 12px;
  font-size: 17px;
}

@media (max-width: 899px) {
  .why-grid {
    gap: 40px 28px;
    margin-top: 56px;
  }
  .why-item,
  .why-item:nth-child(-n + 2) {
    grid-column: span 3;
  }
  .why-item:last-child {
    grid-column: span 6;
  }
}
@media (max-width: 599px) {
  .why-grid {
    gap: 32px;
  }
  .why-item,
  .why-item:nth-child(-n + 2),
  .why-item:last-child {
    grid-column: span 6;
  }
}


/* Our work: one wide frame and two vertical frames, all the same height */

.work-grid {
  display: grid;
  grid-template-columns: 256fr 81fr 81fr;
  gap: 24px;
  margin-top: 72px;
}
.work-more {
  margin-top: 28px;
  text-align: center;
}
.work-more .link-arrow {
  display: inline-block;
  margin-top: 20px;
}

@media (max-width: 699px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 48px;
  }
  .work-grid .frame {
    grid-column: span 2;
  }
}


/* FAQ: one centered column */

.faq-list {
  max-width: 840px;
  margin: 64px auto 0;
}
.faq-more {
  margin-top: 36px;
  text-align: center;
}


/* Closing call to action: open section with a soft red glow rising from the
   bottom edge, just above the footer line. The heading and the sentence each
   stay on one line wherever the screen is wide enough. */

.cta {
  padding-top: clamp(80px, 11vw, 170px);
  padding-bottom: clamp(104px, 14vw, 220px);
  background-image: radial-gradient(ellipse 900px 440px at 50% 100%, rgba(230, 57, 70, 0.2), rgba(230, 57, 70, 0));
  background-repeat: no-repeat;
  text-align: center;
}
.cta h2 {
  font-size: clamp(28px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.cta-text p {
  margin-top: 22px;
  color: var(--gray);
  font-size: clamp(18px, 1.6vw, 21px);
}
.cta-action .btn {
  min-height: 64px;
  margin-top: 44px;
  padding: 0 44px;
  font-size: 18px;
}
.cta-action .placeholder-note {
  margin-top: 14px;
}


/* ==========================================================================
   INNER PAGES
   ========================================================================== */

/* Page heading (Portfolio, Plans & Pricing, About) */

.page-hero {
  padding-top: clamp(56px, 8vw, 112px);
  padding-bottom: clamp(16px, 3vw, 40px);
  text-align: center;
}
.page-hero h1 {
  max-width: 1100px;
  margin: 20px auto 0;
  font-size: clamp(32px, 4.8vw, 60px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.page-hero h1:first-child {
  margin-top: 0;
}
.page-hero .sub {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--gray);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  text-wrap: balance;
}

/* A longer introduction under a page heading */
.page-hero .sub-long {
  max-width: 800px;
  text-wrap: pretty;
}

/* Review note at the top of a draft page */
.page-note {
  margin-top: 24px;
}


/* Portfolio: grids of video frames */

.video-grid {
  display: grid;
  gap: 24px;
  margin-top: 56px;
}
.video-grid-long {
  grid-template-columns: 1fr 1fr;
}
.video-grid-short {
  grid-template-columns: repeat(4, 1fr);
}
.video-grid + .placeholder-note {
  margin-top: 24px;
  text-align: center;
}

@media (max-width: 799px) {
  .video-grid {
    gap: 16px;
    margin-top: 40px;
  }
  .video-grid-long {
    grid-template-columns: 1fr;
  }
  .video-grid-short {
    grid-template-columns: 1fr 1fr;
  }
}


/* Plans & Pricing: plans under the page heading */

.pricing-plans {
  padding-bottom: var(--section-space);
}
.pricing-plans .plans {
  margin-top: clamp(32px, 4vw, 56px);
}
.pricing-plans .pricing-note {
  margin-top: 28px;
  text-align: center;
}


/* Plans & Pricing: "Every plan" list (red check, title, grey text) */

.include-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  margin-top: 64px;
}
.include-item {
  position: relative;
  padding-left: 34px;
}
.include-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23E63946' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") no-repeat center / contain;
}
.include-item h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}
.include-item p {
  margin-top: 8px;
  color: var(--gray);
  font-size: 16px;
}

@media (max-width: 899px) {
  .include-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
    margin-top: 48px;
  }
}
@media (max-width: 599px) {
  .include-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}


/* Plans & Pricing: credits table (approved: Surface background, rounded
   corners, uppercase grey column labels) */

.credits-table-wrap {
  margin-top: 64px;
  overflow: hidden;
  background-color: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
}
.credits-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 16px;
}
.credits-table th,
.credits-table td {
  padding: 22px 24px;
  vertical-align: top;
}
.credits-table thead th {
  padding-block: 16px;
  color: var(--gray);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.credits-table tbody tr {
  border-top: 1px solid var(--line-soft);
}
.credits-table tbody th {
  font-weight: 400;
}
.type-name {
  display: block;
  font-size: 17px;
  font-weight: 600;
}
.type-note {
  display: block;
  margin-top: 4px;
  color: var(--gray);
  font-size: 14px;
}
.credits-table td {
  white-space: nowrap;
}
.credits-table .credit {
  font-family: var(--font-head);
  font-weight: 600;
}

/* On phones and tablets each table row becomes its own small block */
@media (max-width: 959px) {
  .credits-table-wrap {
    margin-top: 44px;
  }
  .credits-table,
  .credits-table tbody,
  .credits-table tr,
  .credits-table th,
  .credits-table td {
    display: block;
  }
  .credits-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .credits-table tbody tr {
    padding: 20px 20px 16px;
  }
  .credits-table tbody tr:first-child {
    border-top: 0;
  }
  .credits-table tbody th {
    padding: 0 0 10px;
  }
  .credits-table td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-top: 1px solid var(--line-soft);
    text-align: right;
  }
  .credits-table td::before {
    content: attr(data-label);
    flex: none;
    color: var(--gray);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    text-align: left;
  }
}

/* Cards under the table */
.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.info-card {
  padding: 28px;
  background-color: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
}
.info-card h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}
.info-card p {
  margin-top: 8px;
  color: var(--gray);
  font-size: 16px;
}
.info-card-wide {
  grid-column: 1 / -1;
  border-color: var(--red);
}

@media (max-width: 699px) {
  .info-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }
  .info-card {
    padding: 24px 20px;
  }
}


/* About: stacked text blocks, centered */

.about-blocks {
  width: min(100% - (var(--page-gutter) * 2), 820px);
  margin-inline: auto;
  padding-bottom: clamp(24px, 4vw, 56px);
}
.about-block {
  padding-block: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line-soft);
  text-align: center;
}
.about-block h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.about-block p {
  margin-top: 20px;
  color: var(--gray);
  font-size: clamp(17px, 1.5vw, 19px);
}
.about-block .placeholder {
  margin-top: 24px;
  padding: 28px 24px;
}
.page-hero + .about-blocks {
  margin-top: clamp(32px, 5vw, 64px);
}


/* Legal pages: plain, narrow, easy to read */

.legal {
  width: min(100% - (var(--page-gutter) * 2), 760px);
  margin-inline: auto;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: var(--section-space);
}
.legal h1 {
  font-size: clamp(32px, 4.8vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.legal-meta {
  margin-top: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  color: var(--gray);
  font-size: 15px;
  line-height: 1.9;
}
.legal h2 {
  margin-top: 48px;
  font-size: clamp(21px, 2.2vw, 25px);
  font-weight: 600;
  line-height: 1.3;
}
.legal h3 {
  margin-top: 28px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}
.legal p {
  margin-top: 16px;
  color: var(--light-clip);
}
.legal p.legal-meta {
  margin-top: 20px;
  color: var(--gray);
}
.legal strong {
  color: var(--white);
  font-weight: 600;
}
.legal ul {
  margin-top: 16px;
  padding-left: 22px;
  list-style: disc;
  color: var(--light-clip);
}
.legal li {
  margin-top: 8px;
}
.legal li::marker {
  color: var(--red);
}
.legal a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--gray);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.legal a:hover {
  text-decoration-color: var(--red);
}
.legal-related {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

