/* ==========================================================
   SEO Content Writing service page
   Loaded only by the Content Writing 2026 template.
   New page-specific layouts only. Universal hero, buttons,
   forms, FAQs, proposal, and BBB styles remain in style2026.css.
   ========================================================== */

.si-content-writing-page {
  --si-content-navy: #071a31;
  --si-content-blue: #0b3f73;
  --si-content-light: #c1e1ff;
  --si-content-orange: #f15a24;
  --si-content-ink: #132238;
  --si-content-muted: #4b5c72;
  --si-content-line: rgba(19,34,56,.14);
}

.si-content-writing-page .si-2026-hero-copy {
  max-width: 760px;
}

/* Editable WordPress introduction */
.si-content-intro-shell {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(102deg, #fff 0%, #fff 64%, #f3f8fc 64%, #edf4fa 100%);
  border-bottom: 1px solid #dfe8f0;
}

.si-content-intro-shell::before {
  content: "CONTENT";
  position: absolute;
  right: clamp(18px, 5vw, 80px);
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(78px, 10vw, 154px);
  line-height: .8;
  font-weight: 900;
  letter-spacing: -.075em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(11,63,115,.10);
  pointer-events: none;
}

.si-content-intro-shell::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: 9%;
  top: -86px;
  border-radius: 50%;
  border: 24px solid rgba(241,90,36,.10);
  pointer-events: none;
}

.si-content-intro {
  position: relative;
  z-index: 1;
  max-width: 790px;
  padding: 76px 0 72px;
}

.si-content-intro h2 {
  max-width: 730px;
  margin: 0 0 24px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--si-content-ink);
}

.si-content-intro h2::before {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--si-content-orange);
}

.si-content-intro p {
  max-width: 750px;
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.72;
  color: #33455b;
}

/* Dark message section */
.si-content-message-section {
  position: relative;
  overflow: hidden;
  padding: 94px 0;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(40,126,198,.30), transparent 27%),
    radial-gradient(circle at 12% 88%, rgba(241,90,36,.12), transparent 29%),
    linear-gradient(135deg, #06172d 0%, #092945 58%, #0a3b67 100%);
}

.si-content-message-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.034) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 36%, #000);
  pointer-events: none;
}

.si-content-message-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: 76px;
  align-items: center;
}

.si-content-message-copy {
  max-width: 640px;
}

.si-content-message-copy .si-2026-section-label {
  color: #ffae8a;
}

.si-content-message-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.03;
  letter-spacing: -.04em;
  color: #fff;
}

.si-content-message-copy p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
}

.si-content-editor {
  position: relative;
  min-height: 410px;
}

.si-content-editor::before,
.si-content-editor::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.si-content-editor::before {
  width: 360px;
  height: 360px;
  right: -24px;
  top: 20px;
  border: 1px solid rgba(193,225,255,.23);
  box-shadow:
    0 0 0 36px rgba(193,225,255,.035),
    0 0 0 72px rgba(193,225,255,.024);
}

.si-content-editor::after {
  width: 16px;
  height: 16px;
  right: 58px;
  top: 72px;
  background: var(--si-content-orange);
  box-shadow: 0 0 0 11px rgba(241,90,36,.17);
}

.si-content-editor-sheet {
  position: absolute;
  left: 0;
  top: 48px;
  width: min(100%, 470px);
  padding: 32px 30px 34px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(4,18,34,.76);
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
  backdrop-filter: blur(8px);
}

.si-content-editor-kicker {
  display: block;
  margin-bottom: 22px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #7cc3f7;
}

.si-content-editor-headline {
  display: block;
  max-width: 360px;
  margin-bottom: 24px;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.035em;
  color: #fff;
}

.si-content-editor-line {
  display: block;
  height: 9px;
  margin: 0 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.20);
}

.si-content-editor-line:nth-of-type(2) { width: 90%; }
.si-content-editor-line:nth-of-type(3) { width: 76%; }
.si-content-editor-line:nth-of-type(4) { width: 84%; }
.si-content-editor-line:nth-of-type(5) { width: 58%; }

.si-content-editor-mark {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 5px;
  border-bottom: 4px solid var(--si-content-orange);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

/* Core pages section */
.si-content-core-section {
  position: relative;
  overflow: hidden;
  padding: 98px 0 104px;
  background: #fff;
}

.si-content-core-section::before {
  content: "CORE";
  position: absolute;
  left: -24px;
  bottom: 12px;
  font-size: clamp(110px, 18vw, 260px);
  line-height: .74;
  font-weight: 900;
  letter-spacing: -.085em;
  color: rgba(11,63,115,.045);
  pointer-events: none;
}

.si-content-core-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, .68fr) minmax(0, 1.32fr);
  gap: 86px;
  align-items: start;
}

.si-content-core-marker {
  padding-top: 5px;
}

.si-content-core-marker strong {
  display: block;
  font-size: clamp(86px, 9vw, 136px);
  line-height: .82;
  letter-spacing: -.075em;
  color: var(--si-content-orange);
}

.si-content-core-marker span {
  display: block;
  max-width: 290px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--si-content-line);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #596a7f;
}

.si-content-core-copy {
  max-width: 760px;
}

.si-content-core-copy h2 {
  margin: 0 0 26px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.04em;
  color: var(--si-content-ink);
}

.si-content-core-copy p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.72;
  color: #405167;
}

.si-content-core-quote {
  margin-top: 32px;
  padding: 24px 0 24px 28px;
  border-left: 5px solid var(--si-content-orange);
  font-size: 25px;
  line-height: 1.38;
  font-weight: 750;
  letter-spacing: -.02em;
  color: #173655;
}

/* Rewrite section */
.si-content-rewrite-section {
  position: relative;
  overflow: hidden;
  padding: 94px 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(255,255,255,.78) 0 7%, transparent 7.5%),
    linear-gradient(118deg, #c1e1ff 0%, #d8ecff 52%, #eef8ff 100%);
}

.si-content-rewrite-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .78fr);
  gap: 76px;
  align-items: center;
}

.si-content-rewrite-copy {
  max-width: 690px;
}

.si-content-rewrite-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4.3vw, 56px);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: #0a2d52;
}

.si-content-rewrite-copy p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.7;
  color: #294964;
}

.si-content-rewrite-visual {
  position: relative;
  min-height: 360px;
}

.si-content-rewrite-word {
  position: absolute;
  right: 0;
  top: 38px;
  font-size: clamp(70px, 8vw, 118px);
  line-height: .82;
  font-weight: 900;
  letter-spacing: -.075em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(11,63,115,.24);
}

.si-content-rewrite-before,
.si-content-rewrite-after {
  position: absolute;
  width: 280px;
  padding: 22px 24px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 38px rgba(11,63,115,.11);
}

.si-content-rewrite-before {
  left: 0;
  bottom: 112px;
  border-left: 4px solid rgba(11,63,115,.28);
}

.si-content-rewrite-after {
  right: 4px;
  bottom: 8px;
  border-left: 4px solid var(--si-content-orange);
}

.si-content-rewrite-before span,
.si-content-rewrite-after span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #65768a;
}

.si-content-rewrite-before strong,
.si-content-rewrite-after strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
  color: #173553;
}

/* Supporting content section */
.si-content-authority-section {
  padding: 98px 0;
  overflow: hidden;
  background: #f7f8fa;
}

.si-content-authority-shell {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 72px;
  align-items: center;
}

.si-content-authority-statement {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: flex-end;
  padding: 46px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(241,90,36,.18), transparent 26%),
    linear-gradient(145deg, #071a31 0%, #0a3c68 100%);
}

.si-content-authority-statement::before {
  content: "USEFUL";
  position: absolute;
  left: -12px;
  top: 28px;
  font-size: clamp(72px, 8vw, 126px);
  line-height: .8;
  font-weight: 900;
  letter-spacing: -.07em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.14);
}

.si-content-authority-statement p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 28px;
  line-height: 1.32;
  font-weight: 750;
  letter-spacing: -.025em;
  color: #fff;
}

.si-content-authority-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--si-content-ink);
}

.si-content-authority-copy p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.72;
  color: #425267;
}

/* AI search bridge */
.si-content-ai-section {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background: #fff;
  border-top: 1px solid #e2e8ef;
  border-bottom: 1px solid #e2e8ef;
}

.si-content-ai-section::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: -170px;
  border-radius: 50%;
  border: 1px solid rgba(11,63,115,.14);
  box-shadow:
    0 0 0 42px rgba(11,63,115,.025),
    0 0 0 84px rgba(11,63,115,.018);
}

.si-content-ai-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .48fr 1.52fr;
  gap: 70px;
  align-items: start;
}

.si-content-ai-kicker {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--si-content-orange);
}

.si-content-ai-copy h2 {
  max-width: 820px;
  margin: 0 0 22px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--si-content-ink);
}

.si-content-ai-copy p {
  max-width: 830px;
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.7;
  color: #405066;
}

/* Experience close */
.si-content-experience-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  color: #fff;
  background:
    radial-gradient(circle at 18% 30%, rgba(241,90,36,.12), transparent 24%),
    linear-gradient(130deg, #06162b 0%, #0b2948 100%);
}

.si-content-experience-section::before {
  content: "2002";
  position: absolute;
  right: 2vw;
  top: 50%;
  transform: translateY(-53%);
  font-size: clamp(140px, 19vw, 300px);
  line-height: .75;
  font-weight: 900;
  letter-spacing: -.08em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(193,225,255,.11);
  pointer-events: none;
}

.si-content-experience-copy {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.si-content-experience-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.04em;
  color: #fff;
}

.si-content-experience-copy p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255,255,255,.81);
}

.si-content-writing-page .si-2026-contact-band .si-2026-action-group {
  justify-content: center;
}

/* Mobile containment */
@media (max-width: 979px) {
  .si-content-message-grid,
  .si-content-core-grid,
  .si-content-rewrite-grid,
  .si-content-authority-shell,
  .si-content-ai-shell {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .si-content-message-grid > *,
  .si-content-core-grid > *,
  .si-content-rewrite-grid > *,
  .si-content-authority-shell > *,
  .si-content-ai-shell > * {
    min-width: 0;
  }

  .si-content-editor {
    max-width: 560px;
    min-height: 390px;
  }

  .si-content-core-marker {
    display: flex;
    align-items: flex-end;
    gap: 28px;
  }

  .si-content-core-marker span {
    max-width: 360px;
    margin: 0 0 4px;
  }

  .si-content-rewrite-visual {
    max-width: 560px;
  }

  .si-content-authority-statement {
    min-height: 300px;
  }
}

@media (max-width: 767px) {
  body.si-content-writing-page {
    overflow-x: hidden;
  }

  .si-content-intro-shell > .container,
  .si-content-message-section > .container,
  .si-content-core-section > .container,
  .si-content-rewrite-section > .container,
  .si-content-authority-section > .container,
  .si-content-ai-section > .container,
  .si-content-experience-section > .container {
    width: auto !important;
    max-width: none !important;
    margin-left: 18px !important;
    margin-right: 18px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .si-content-intro,
  .si-content-message-grid,
  .si-content-message-copy,
  .si-content-editor,
  .si-content-editor-sheet,
  .si-content-core-grid,
  .si-content-core-marker,
  .si-content-core-copy,
  .si-content-core-quote,
  .si-content-rewrite-grid,
  .si-content-rewrite-copy,
  .si-content-rewrite-visual,
  .si-content-rewrite-before,
  .si-content-rewrite-after,
  .si-content-authority-shell,
  .si-content-authority-statement,
  .si-content-authority-copy,
  .si-content-ai-shell,
  .si-content-ai-copy,
  .si-content-experience-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .si-content-message-copy h2,
  .si-content-message-copy p,
  .si-content-core-copy h2,
  .si-content-core-copy p,
  .si-content-rewrite-copy h2,
  .si-content-rewrite-copy p,
  .si-content-authority-copy h2,
  .si-content-authority-copy p,
  .si-content-ai-copy h2,
  .si-content-ai-copy p,
  .si-content-experience-copy h2,
  .si-content-experience-copy p {
    overflow-wrap: break-word;
  }

  .si-content-intro-shell {
    background: linear-gradient(180deg, #fff 0%, #fff 77%, #f2f7fb 100%);
  }

  .si-content-intro-shell::before {
    right: -18px;
    top: auto;
    bottom: 18px;
    transform: none;
    font-size: 66px;
  }

  .si-content-intro-shell::after {
    width: 130px;
    height: 130px;
    right: -44px;
    top: -50px;
    border-width: 17px;
  }

  .si-content-intro {
    padding: 58px 0 62px;
  }

  .si-content-intro h2,
  .si-content-message-copy h2,
  .si-content-core-copy h2,
  .si-content-rewrite-copy h2,
  .si-content-authority-copy h2,
  .si-content-ai-copy h2,
  .si-content-experience-copy h2 {
    font-size: 34px;
    line-height: 1.1;
  }

  .si-content-intro p,
  .si-content-message-copy p,
  .si-content-core-copy p,
  .si-content-rewrite-copy p,
  .si-content-authority-copy p,
  .si-content-ai-copy p,
  .si-content-experience-copy p {
    font-size: 17px;
    line-height: 1.66;
  }

  .si-content-message-section,
  .si-content-core-section,
  .si-content-rewrite-section,
  .si-content-authority-section,
  .si-content-experience-section {
    padding: 64px 0;
  }

  .si-content-editor {
    min-height: 340px;
  }

  .si-content-editor::before {
    width: 290px;
    height: 290px;
    right: -70px;
  }

  .si-content-editor-sheet {
    position: relative;
    top: 18px;
    width: 100%;
    padding: 24px 22px 26px;
  }

  .si-content-editor-headline {
    font-size: 27px;
  }

  .si-content-core-marker {
    display: block;
  }

  .si-content-core-marker strong {
    font-size: 78px;
  }

  .si-content-core-marker span {
    margin-top: 18px;
  }

  .si-content-core-quote {
    padding-left: 22px;
    font-size: 21px;
  }

  .si-content-rewrite-visual {
    min-height: 330px;
  }

  .si-content-rewrite-word {
    right: -6px;
    font-size: 68px;
  }

  .si-content-rewrite-before,
  .si-content-rewrite-after {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .si-content-rewrite-before {
    margin-top: 90px;
  }

  .si-content-rewrite-after {
    margin-top: 18px;
  }

  .si-content-authority-statement {
    min-height: 250px;
    padding: 34px 28px;
  }

  .si-content-authority-statement p {
    font-size: 23px;
  }

  .si-content-ai-section {
    padding: 60px 0;
  }

  .si-content-experience-section::before {
    right: -18px;
    top: 28px;
    transform: none;
    font-size: 118px;
  }

  .si-content-writing-page .si-2026-contact-band .si-2026-action-group {
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
  }
}
