:root {
  --ink: #10242b;
  --ink-2: #19343c;
  --teal: #1f6f72;
  --teal-dark: #155255;
  --brass: #b98d4a;
  --coral: #c76651;
  --paper: #fbf8f1;
  --white: #ffffff;
  --mist: #edf3f1;
  --line: rgba(16, 36, 43, 0.14);
  --shadow: 0 24px 70px rgba(16, 36, 43, 0.16);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(6, 22, 27, 0.72), rgba(6, 22, 27, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(14px);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 22, 27, 0.26);
  backdrop-filter: blur(18px);
}

.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  transition: background 180ms ease, color 180ms ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 24, 29, 0.86) 0%, rgba(7, 24, 29, 0.62) 34%, rgba(7, 24, 29, 0.08) 72%),
    linear-gradient(0deg, rgba(7, 24, 29, 0.56), rgba(7, 24, 29, 0.06) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 112px);
  padding-top: 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 660px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 84px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--brass);
  color: #12100b;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: clamp(56px, 7vw, 92px) clamp(18px, 4vw, 56px);
}

.section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  min-width: 0;
}

.split,
.secure-layout,
.contact-layout,
.portfolio-preview-head,
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.intro {
  background: var(--white);
  padding-bottom: clamp(42px, 5vw, 72px);
}

.intro p:not(.eyebrow),
.secure p,
.contact p {
  color: rgba(16, 36, 43, 0.72);
  font-size: 18px;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.2;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 36px;
}

.pillars {
  background: var(--mist);
  padding-top: clamp(58px, 6vw, 84px);
}

.portfolio-preview {
  background: var(--white);
}

.portfolio-preview-head {
  align-items: end;
  margin-bottom: 28px;
}

.portfolio-preview-head p:not(.eyebrow) {
  color: rgba(16, 36, 43, 0.72);
  font-size: 18px;
}

.domain-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.domain-strip span,
.domain-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink-2);
  font-weight: 900;
}

.domain-strip span {
  padding: 11px 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--teal-dark);
  font-weight: 900;
  border-bottom: 2px solid rgba(31, 111, 114, 0.28);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pillar-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(16, 36, 43, 0.08);
}

.pillar-card {
  min-height: 280px;
  padding: 28px;
}

.pillar-card .number {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--coral);
  font-weight: 900;
}

.pillar-card p,
.process-list p {
  color: rgba(16, 36, 43, 0.68);
}

.secure {
  background: var(--ink);
  color: var(--white);
}

.secure .eyebrow {
  color: #d5b27b;
}

.secure p {
  color: rgba(255, 255, 255, 0.74);
}

.assurance-panel {
  display: grid;
  gap: 12px;
}

.assurance-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.assurance-panel span {
  color: rgba(255, 255, 255, 0.66);
}

.assurance-panel strong {
  color: #f0c985;
  font-size: 20px;
}

.process {
  background: var(--paper);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-list li {
  min-height: 240px;
  padding: 28px;
  background: var(--white);
}

.process-list span {
  display: block;
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 900;
}

.plain-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 4px solid var(--coral);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(16, 36, 43, 0.78);
}

.plain-note strong {
  color: var(--ink);
}

.contact {
  background: var(--white);
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 28px;
  font-style: normal;
}

.contact-card span {
  color: rgba(16, 36, 43, 0.62);
}

.contact-card strong {
  font-size: 26px;
}

.contact-card a {
  width: fit-content;
  color: var(--teal-dark);
  font-weight: 900;
  border-bottom: 2px solid rgba(31, 111, 114, 0.28);
}

.compact-contact {
  margin-top: 26px;
  box-shadow: none;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(16, 36, 43, 0.08);
}

.hidden-field {
  display: none;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(16, 36, 43, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 111, 114, 0.14);
}

.full-field {
  grid-column: 1 / -1;
}

.contact-form .button {
  grid-column: 1 / -1;
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) auto auto minmax(260px, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px clamp(18px, 4vw, 56px);
  background: #08161b;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.footer-link {
  color: var(--white);
  font-weight: 900;
}

.site-footer small {
  justify-self: end;
}

.portfolio-page {
  background: var(--white);
}

.portfolio-header {
  background: rgba(8, 22, 27, 0.88);
}

.portfolio-hero {
  padding-top: 150px;
  background: var(--ink);
  color: var(--white);
}

.portfolio-hero-inner {
  max-width: 920px;
}

.portfolio-hero h1 {
  max-width: 880px;
  font-size: 70px;
}

.portfolio-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 19px;
}

.portfolio-list {
  background: var(--paper);
}

.domain-category-grid {
  display: grid;
  gap: 18px;
}

.seo-domain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.seo-domain-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(16, 36, 43, 0.06);
}

.seo-domain-card h2 {
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 22px;
  line-height: 1.2;
}

.seo-domain-card p {
  margin-bottom: 0;
  color: rgba(16, 36, 43, 0.72);
  font-size: 16px;
}

.domain-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.8fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(16, 36, 43, 0.07);
}

.domain-category h2 {
  margin-bottom: 14px;
  font-size: 38px;
}

.domain-category p:not(.eyebrow),
.portfolio-cta p {
  color: rgba(16, 36, 43, 0.7);
  font-size: 17px;
}

.domain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 4px 0 0;
  list-style: none;
}

.domain-category .domain-list {
  align-content: flex-start;
}

.domain-list li {
  padding: 10px 14px;
}

.portfolio-cta {
  background: var(--white);
}

.cta-band {
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius);
  background: var(--mist);
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 640px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 24, 29, 0.9), rgba(7, 24, 29, 0.52)),
      linear-gradient(0deg, rgba(7, 24, 29, 0.68), rgba(7, 24, 29, 0.1));
  }

  .split,
  .secure-layout,
  .contact-layout,
  .portfolio-preview-head,
  .cta-band,
  .domain-category,
  .seo-domain-grid,
  .pillar-grid,
  .process-list,
  .site-footer {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 58px;
  }

  .portfolio-hero h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 42px;
  }

  .site-footer small {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 16px;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    min-height: 610px;
  }

  .hero-content {
    width: min(calc(100% - 32px), 358px);
    max-width: 358px;
    margin-left: 16px;
  }

  h1 {
    font-size: 40px;
    max-width: 100%;
  }

  h2 {
    font-size: 34px;
    max-width: 100%;
  }

  .hero-copy,
  .intro p:not(.eyebrow),
  .secure p,
  .contact p {
    max-width: 100%;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-inner {
    width: min(100%, 358px);
    max-width: 358px;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .pillar-card,
  .domain-category,
  .process-list li,
  .contact-card,
  .contact-form {
    padding: 24px;
  }

  .contact-form,
  .full-field,
  .contact-form .button {
    grid-column: 1;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .portfolio-hero {
    padding-top: 132px;
  }

  .portfolio-hero h1 {
    font-size: 42px;
  }

  .domain-category h2 {
    font-size: 31px;
  }

  .domain-strip span,
  .domain-list li {
    width: 100%;
    border-radius: var(--radius);
  }

  .assurance-panel div {
    align-items: flex-start;
    flex-direction: column;
  }
}
