:root {
  --navy: #091a33;
  --navy-deep: #061326;
  --navy-soft: #173154;
  --cream: #f3eee3;
  --cream-deep: #e5dccb;
  --white: #ffffff;
  --ink: #10213b;
  --muted: #5d6979;
  --line: rgba(9, 26, 51, 0.14);
  --shadow: 0 28px 70px rgba(9, 26, 51, 0.14);
  --radius: 22px;
  --shell: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--navy);
  color: var(--cream);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}

:focus-visible {
  outline: 3px solid #9f7c3f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.75rem);
}

h2 {
  font-size: clamp(2.25rem, 4vw, 3.6rem);
}

h3 {
  font-size: 1.45rem;
}

main {
  min-height: 60vh;
  overflow: hidden;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--navy);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--navy-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.light-eyebrow {
  color: var(--cream-deep);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--navy);
  color: var(--white);
}

.button-primary:hover {
  background: var(--navy-soft);
}

.button-quiet {
  border-bottom-color: var(--navy);
  border-radius: 0;
  color: var(--navy);
}

.button-outline {
  border-color: var(--navy);
  color: var(--navy);
}

.button-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.button-cream {
  background: var(--cream);
  color: var(--navy);
}

.button-cream:hover {
  background: var(--white);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(9, 26, 51, 0.09);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid rgba(9, 26, 51, 0.09);
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 7px 18px rgba(9, 26, 51, 0.1);
}

.brand-name {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
}

.brand-name b {
  color: #6e7786;
  font-weight: 650;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  position: relative;
  padding-block: 8px;
  color: #465368;
  font-size: 0.9rem;
  font-weight: 650;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--navy);
  content: "";
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--navy);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
}

.menu-button,
.mobile-panel {
  display: none;
}

/* Home hero */
.hero {
  display: grid;
  min-height: 730px;
  align-items: center;
  grid-template-columns: minmax(0, 1.04fr) minmax(440px, 0.96fr);
  gap: clamp(40px, 6vw, 86px);
  padding-block: 88px 92px;
}

.hero-copy {
  animation: fade-up 620ms both;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 28px;
}

.hero h1 span {
  color: #7b6a52;
  font-style: italic;
  font-weight: 500;
}

.hero-lead {
  max-width: 630px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  margin: 36px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  color: #506074;
  font-size: 0.86rem;
  list-style: none;
}

.hero-proof li::before {
  margin-right: 8px;
  color: #8b7149;
  content: "✓";
  font-weight: 800;
}

.hero-visual {
  position: relative;
  animation: fade-up 620ms 120ms both;
}

.hero-visual::before {
  position: absolute;
  inset: -20% -25%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 220, 203, 0.72), transparent 68%);
  content: "";
}

.browser-card {
  overflow: hidden;
  border: 1px solid rgba(9, 26, 51, 0.13);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
}

.browser-topbar {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  background: #eceef1;
}

.browser-topbar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b7bdc6;
}

.browser-address {
  width: 44%;
  margin-inline: auto;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--white);
  color: #8b929d;
  font-size: 0.55rem;
  text-align: center;
}

.browser-content {
  padding: 22px;
  background: #faf8f3;
}

.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.mock-brand img {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(9, 26, 51, 0.08);
  border-radius: 7px;
  object-fit: cover;
}

.mock-links {
  display: flex;
  gap: 10px;
}

.mock-links i {
  width: 27px;
  height: 3px;
  border-radius: 4px;
  background: #c9c6be;
}

.mock-hero {
  display: grid;
  min-height: 330px;
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}

.mock-copy small {
  color: #897455;
  font-size: 0.48rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.mock-copy b,
.mock-copy p {
  display: block;
  height: 20px;
  margin: 12px 0 0;
  border-radius: 5px;
  background: var(--navy);
}

.mock-copy b.short {
  width: 72%;
  margin-top: 7px;
}

.mock-copy p {
  width: 90%;
  height: 5px;
  margin-top: 18px;
  background: #b9b4aa;
  box-shadow: 0 10px 0 #d2cec5;
}

.mock-copy .mock-button {
  display: block;
  width: 52px;
  height: 23px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--navy);
}

.mock-art {
  position: relative;
  height: 250px;
}

.art-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(9, 26, 51, 0.1);
  border-radius: 22px;
  box-shadow: 0 15px 35px rgba(9, 26, 51, 0.25);
  object-fit: cover;
}

.art-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid #c5b79f;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one { width: 160px; height: 160px; }
.orbit-two { width: 220px; height: 220px; }

.art-tile {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cream-deep);
  box-shadow: 0 10px 20px rgba(9, 26, 51, 0.12);
}

.tile-one { top: 28px; right: 16px; transform: rotate(12deg); }
.tile-two { bottom: 20px; left: 16px; background: var(--white); transform: rotate(-10deg); }

.mock-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mock-bottom i {
  height: 48px;
  border: 1px solid #ded8ce;
  border-radius: 9px;
  background: var(--white);
}

.floating-note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(9, 26, 51, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px rgba(9, 26, 51, 0.14);
}

.floating-note > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  font-weight: 800;
}

.floating-note strong,
.floating-note small {
  display: block;
  line-height: 1.25;
}

.floating-note strong { color: var(--navy); font-size: 0.73rem; }
.floating-note small { margin-top: 3px; color: #717b88; font-size: 0.58rem; }
.note-mobile { right: -34px; bottom: 76px; }
.note-support { top: 88px; left: -38px; }

.signal-bar {
  border-block: 1px solid var(--line);
  background: var(--cream);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.signal-grid p {
  margin: 0;
  padding: 22px 20px;
  border-right: 1px solid rgba(9, 26, 51, 0.12);
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 650;
  text-align: center;
}

.signal-grid p:first-child { border-left: 1px solid rgba(9, 26, 51, 0.12); }
.signal-grid strong { margin-right: 8px; color: #94774a; }

/* Shared sections */
.content-section {
  padding-block: 120px;
}

.section-heading {
  margin-bottom: 54px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.split-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  gap: 60px;
}

.split-heading > p {
  margin: 0 0 8px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.service-card {
  min-height: 270px;
  padding: 40px;
  background: var(--white);
  transition: background-color 180ms ease, transform 180ms ease;
}

.service-card:hover {
  background: #fbf8f2;
}

.card-number {
  display: block;
  margin-bottom: 45px;
  color: #9b8057;
  font-family: Georgia, serif;
  font-size: 0.84rem;
}

.service-card h3 {
  margin-bottom: 15px;
}

.service-card p {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted);
}

.cream-section {
  background: var(--cream);
}

.why-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(50px, 8vw, 110px);
}

.why-visual {
  display: flex;
  min-height: 590px;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--cream);
}

.monogram-panel {
  width: min(270px, 100%);
  aspect-ratio: 1;
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(243, 238, 227, 0.24);
  border-radius: 34px;
  background: var(--cream);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24);
}

.monogram-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-visual > p {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.35;
}

.why-copy h2 {
  margin-bottom: 46px;
}

.reason-list article {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid rgba(9, 26, 51, 0.14);
}

.reason-list article:last-child { border-bottom: 1px solid rgba(9, 26, 51, 0.14); }
.reason-list article > span { color: #977a4c; font-family: Georgia, serif; font-size: 0.8rem; }
.reason-list h3 { margin-bottom: 8px; font-size: 1.3rem; }
.reason-list p { margin-bottom: 0; color: var(--muted); }

.centered-heading {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.process-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.process-grid li {
  position: relative;
  min-height: 230px;
  padding: 26px 30px;
  border-top: 1px solid var(--line);
}

.process-grid li::after {
  position: absolute;
  top: -5px;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--navy);
  content: "";
}

.process-grid li > span { display: block; margin-bottom: 56px; color: #9a7b4d; font-family: Georgia, serif; }
.process-grid h3 { margin-bottom: 12px; }
.process-grid p { margin-bottom: 0; color: var(--muted); font-size: 0.93rem; }

.cta-panel {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(40px, 8vw, 100px);
  margin-bottom: 120px;
  padding: clamp(42px, 7vw, 78px);
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: 0 25px 60px rgba(9, 26, 51, 0.2);
}

.cta-panel h2 {
  margin-bottom: 0;
  color: var(--white);
}

.cta-panel > div:last-child > p {
  margin-bottom: 25px;
  color: #ccd3dc;
}

/* Inner page headers */
.page-hero {
  max-width: 1080px;
  padding-block: 115px 78px;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 30px;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
}

.page-hero > p:last-child {
  max-width: 710px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.14rem;
}

/* Packages */
.package-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 34px;
}

.package-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.package-card.featured {
  border-color: var(--navy);
  background: #fbf8f2;
  box-shadow: 0 20px 50px rgba(9, 26, 51, 0.12);
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  padding: 7px 16px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.package-index {
  margin-bottom: 40px;
  color: #9a7d4f;
  font-family: Georgia, serif;
  font-size: 0.8rem;
}

.package-card h2 {
  margin-bottom: 16px;
  font-size: 2.4rem;
}

.package-description {
  min-height: 84px;
  margin-bottom: 26px;
  color: var(--muted);
}

.package-price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.package-price strong {
  color: var(--navy);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.package-price span {
  color: var(--muted);
  font-size: 0.78rem;
  text-align: right;
}

.package-price b {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
}

.package-scope {
  padding: 20px 0;
  border-block: 1px solid var(--line);
}

.package-scope small,
.package-scope strong,
.package-scope span {
  display: block;
}

.package-scope small { color: #87909c; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; }
.package-scope strong { margin-top: 4px; color: var(--navy); }
.package-scope span { margin-top: 8px; color: #876d47; font-size: 0.82rem; font-weight: 700; }

.feature-list {
  flex: 1;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 24px;
  color: #48566a;
  font-size: 0.91rem;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  color: #8d7045;
  content: "✓";
  font-weight: 900;
}

.package-card .button { width: 100%; }

.maintenance-section {
  padding-block: 90px 30px;
}

.maintenance-heading {
  display: grid;
  max-width: 820px;
  margin-bottom: 44px;
}

.maintenance-heading h2 {
  margin-bottom: 20px;
}

.maintenance-heading > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.support-card {
  background: #fbf8f2;
}

.support-label {
  margin-bottom: 34px;
  color: #8a6c3f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-price {
  min-height: 76px;
  margin: 0;
  padding: 21px 0;
  border-block: 1px solid var(--line);
  color: var(--navy);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.extras-section {
  padding-block: 90px 35px;
}

.extras-heading {
  display: grid;
  max-width: 820px;
  margin-bottom: 40px;
}

.extras-heading h2 {
  margin-bottom: 20px;
}

.extras-heading > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.extras-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(9, 26, 51, 0.08);
}

.extras-table-wrap:focus-visible {
  outline: 3px solid #9f7c3f;
  outline-offset: 4px;
}

.extras-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.extras-table th,
.extras-table td {
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.extras-table thead th {
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.extras-table thead th:last-child,
.extras-table td:last-child {
  text-align: right;
}

.extras-table tbody th {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.extras-table tbody td {
  color: #785f3d;
  font-weight: 750;
  white-space: nowrap;
}

.extras-table tbody tr:last-child th,
.extras-table tbody tr:last-child td {
  border-bottom: 0;
}

.extras-table tbody tr:nth-child(even) {
  background: #fbf8f2;
}

.package-note,
.privacy-note {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 35px;
  margin-block: 40px 100px;
  padding: 28px 32px;
  border-left: 3px solid var(--navy);
  background: var(--cream);
}

.package-note strong,
.privacy-note strong { color: var(--navy); }
.package-note p,
.privacy-note p { margin: 0; color: var(--muted); }

.compact-cta {
  align-items: center;
  grid-template-columns: 1fr auto;
}

.compact-cta .button {
  white-space: nowrap;
}

/* Portfolio */
.portfolio-hero {
  display: grid;
  max-width: none;
  align-items: end;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 70px;
  text-align: left;
}

.portfolio-hero h1 { margin-bottom: 0; }
.portfolio-hero > p:last-child { margin: 0 0 18px; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 24px;
  padding-bottom: 110px;
}

.portfolio-card {
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.portfolio-screenshot {
  overflow: hidden;
  aspect-ratio: 1.98 / 1;
  border-bottom: 1px solid var(--line);
  background: #eee9df;
}

.portfolio-screenshot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(9, 26, 51, 0.12);
}

.portfolio-mock {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.12 / 1;
  padding: 23px 26px 0;
  background: var(--cream);
}

.portfolio-browserbar {
  display: flex;
  height: 28px;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border-radius: 10px 10px 0 0;
  background: rgba(255, 255, 255, 0.74);
}

.portfolio-browserbar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(9, 26, 51, 0.3);
}

.portfolio-browserbar > span {
  margin-inline: auto;
  padding-right: 28px;
  color: rgba(9, 26, 51, 0.48);
  font-size: 0.4rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.portfolio-home {
  height: calc(100% - 28px);
  overflow: hidden;
  padding: 16px 18px 18px;
  background: var(--white);
}

.concept-nav {
  display: flex;
  height: 28px;
  align-items: center;
  gap: 12px;
}

.concept-symbol {
  width: 24px;
  height: 24px;
  margin-right: auto;
  border-radius: 50% 50% 50% 7px;
  background: currentColor;
}

.concept-nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.concept-nav-links span {
  color: currentColor;
  font-size: 0.42rem;
  font-weight: 700;
  opacity: 0.68;
}

.concept-nav-button {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: currentColor;
  color: var(--white);
  font-size: 0.38rem;
  font-weight: 850;
  white-space: nowrap;
}

.concept-hero {
  display: grid;
  min-height: 180px;
  align-items: center;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 18px;
  padding: 20px 4px 16px;
}

.concept-highlights {
  display: grid;
  margin: 1px 0 6px;
  padding: 8px 0;
  border-block: 1px solid currentColor;
  grid-template-columns: repeat(3, 1fr);
}

.concept-highlights div {
  padding-inline: 9px;
  border-right: 1px solid currentColor;
}

.concept-highlights div:first-child {
  padding-left: 1px;
}

.concept-highlights div:last-child {
  border-right: 0;
}

.concept-highlights strong,
.concept-highlights span {
  display: block;
}

.concept-highlights strong {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 0.65rem;
  line-height: 1;
}

.concept-highlights span {
  margin-top: 4px;
  overflow: hidden;
  font-size: 0.31rem;
  font-weight: 700;
  opacity: 0.62;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.concept-copy small {
  display: block;
  margin-bottom: 8px;
  color: currentColor;
  font-size: 0.42rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.concept-copy strong {
  display: block;
  max-width: 235px;
  color: currentColor;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(1.02rem, 1.8vw, 1.42rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.concept-copy p {
  display: -webkit-box;
  max-width: 225px;
  margin: 9px 0 12px;
  overflow: hidden;
  color: currentColor;
  font-size: 0.43rem;
  line-height: 1.45;
  opacity: 0.68;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.concept-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.concept-cta {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: currentColor;
  color: var(--white);
  font-size: 0.4rem;
  font-weight: 800;
}

.concept-text-link {
  color: currentColor;
  font-size: 0.4rem;
  font-weight: 750;
  white-space: nowrap;
}

.concept-visual {
  position: relative;
  min-height: 156px;
}

.visual-shape {
  position: absolute;
  display: block;
}

.shape-main {
  inset: 4px 10px 5px 18px;
  border-radius: 48% 48% 18% 48%;
  background: currentColor;
}

.shape-secondary {
  right: 0;
  bottom: 2px;
  width: 58px;
  height: 58px;
  border: 8px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
}

.shape-detail {
  top: 17px;
  left: 5px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 11px 25px rgba(9, 26, 51, 0.13);
}

.concept-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 1px 10px;
}

.concept-section-heading small,
.concept-section-heading strong {
  display: block;
}

.concept-section-heading small {
  margin-bottom: 2px;
  font-size: 0.34rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0.58;
  text-transform: uppercase;
}

.concept-section-heading strong {
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: -0.02em;
}

.concept-section-heading > span {
  padding-bottom: 2px;
  font-size: 0.36rem;
  font-weight: 750;
}

.concept-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.concept-features article {
  min-height: 66px;
  padding: 8px;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.concept-features i,
.concept-features strong,
.concept-features small,
.concept-features span {
  display: block;
}

.concept-features i {
  margin-bottom: 7px;
  font-size: 0.31rem;
  font-style: normal;
  font-weight: 850;
  opacity: 0.55;
}

.concept-features strong {
  overflow: hidden;
  font-size: 0.44rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.concept-features small {
  margin-top: 4px;
  overflow: hidden;
  font-size: 0.3rem;
  font-weight: 650;
  opacity: 0.62;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.concept-features span {
  margin-top: 5px;
  font-size: 0.32rem;
  font-weight: 700;
  opacity: 0.58;
}

.concept-banner {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding: 6px 9px;
  border-radius: 7px;
  background: currentColor;
  color: var(--white);
}

.concept-banner span {
  overflow: hidden;
  font-size: 0.34rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.concept-banner strong {
  flex: 0 0 auto;
  font-size: 0.34rem;
  white-space: nowrap;
}

.mock-beauty { background: #d5b7bd; color: #563341; }
.mock-beauty .portfolio-home { background: #fff9f5; }
.mock-beauty .concept-symbol { border-radius: 50%; background: #bb8a67; }
.mock-beauty .concept-nav-button,
.mock-beauty .concept-cta { background: #6d3f50; }
.mock-beauty .concept-copy strong { font-style: italic; font-weight: 500; }
.mock-beauty .shape-main { background: linear-gradient(145deg, #dbaeb7, #8f596c); }
.mock-beauty .shape-main::after {
  position: absolute;
  right: 17%;
  bottom: 10%;
  width: 34%;
  height: 65%;
  border-radius: 48% 48% 35% 35%;
  background: rgba(255, 244, 239, 0.86);
  content: "";
}
.mock-beauty .concept-features article { border-color: rgba(86, 51, 65, 0.17); background: #fffdfb; }
.mock-beauty .concept-features article:nth-child(2) { transform: translateY(-4px); background: #f5e2df; }
.mock-beauty .concept-highlights { border-color: rgba(86, 51, 65, 0.18); }
.mock-beauty .concept-highlights div { border-color: rgba(86, 51, 65, 0.18); }
.mock-beauty .concept-banner { background: #6d3f50; }

.mock-books { background: #c8bea3; color: #263d32; }
.mock-books .portfolio-home { background: #fbf7ea; }
.mock-books .concept-symbol {
  width: 24px;
  height: 19px;
  border-radius: 2px;
  background: #a94734;
  box-shadow: 7px 2px 0 #d4a947;
  transform: rotate(-5deg);
}
.mock-books .concept-nav-button,
.mock-books .concept-cta { background: #263d32; }
.mock-books .concept-copy strong { font-weight: 500; }
.mock-books .shape-main {
  inset: 18px 25px 13px 30px;
  border-radius: 5px;
  background: linear-gradient(90deg, #263d32 0 12%, #e9dfc5 12% 88%, #263d32 88%);
  box-shadow: 0 17px 28px rgba(38, 61, 50, 0.2);
  transform: rotate(-7deg);
}
.mock-books .shape-main::before {
  position: absolute;
  top: 25px;
  right: 17px;
  left: 25px;
  height: 5px;
  border-radius: 4px;
  background: #a94734;
  box-shadow: 0 14px 0 #d4a947, 0 28px 0 rgba(38, 61, 50, 0.32);
  content: "";
}
.mock-books .shape-secondary {
  right: 3px;
  bottom: 7px;
  width: 55px;
  height: 106px;
  border: 0;
  border-radius: 4px;
  background: #a94734;
  box-shadow: 0 13px 23px rgba(38, 61, 50, 0.2);
  transform: rotate(8deg);
}
.mock-books .shape-detail {
  top: 6px;
  left: 3px;
  width: 42px;
  height: 118px;
  border-radius: 3px;
  background: #d4a947;
  transform: rotate(-9deg);
}
.mock-books .concept-highlights,
.mock-books .concept-highlights div { border-color: rgba(38, 61, 50, 0.18); }
.mock-books .concept-features article {
  position: relative;
  min-height: 72px;
  padding-left: 38px;
  border-color: rgba(38, 61, 50, 0.14);
  background: #fffdf5;
}
.mock-books .concept-features i {
  position: absolute;
  top: 8px;
  left: 8px;
  display: grid;
  width: 22px;
  height: 34px;
  place-items: center;
  border-radius: 2px;
  background: #a94734;
  color: #fffaf0;
  opacity: 1;
}
.mock-books .concept-features article:nth-child(2) i { background: #263d32; }
.mock-books .concept-features article:nth-child(3) i { background: #d4a947; color: #263d32; }
.mock-books .concept-banner { background: #a94734; }

.mock-auto { background: #e3ad39; color: #f6f0e7; }
.mock-auto .portfolio-browserbar { background: #25323b; }
.mock-auto .portfolio-browserbar i { background: rgba(255, 255, 255, 0.45); }
.mock-auto .portfolio-browserbar > span { color: rgba(255, 255, 255, 0.52); }
.mock-auto .portfolio-home { background: #121c23; }
.mock-auto .concept-symbol { border-radius: 4px; background: #e9b43d; transform: skewX(-12deg); }
.mock-auto .concept-nav-button,
.mock-auto .concept-cta { background: #e9b43d; color: #111a21; border-radius: 3px; text-transform: uppercase; }
.mock-auto .concept-copy strong { max-width: 250px; font-family: "Arial Narrow", "Segoe UI", sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; }
.mock-auto .concept-copy small { color: #e9b43d; }
.mock-auto .shape-main {
  inset: 50px 3px 26px 2px;
  border-radius: 42px 70px 22px 22px;
  background: linear-gradient(145deg, #243d4f, #0e1d29);
}
.mock-auto .shape-main::before,
.mock-auto .shape-main::after {
  position: absolute;
  bottom: -14px;
  width: 32px;
  height: 32px;
  border: 8px solid #f2f5f6;
  border-radius: 50%;
  background: #172a3a;
  content: "";
}
.mock-auto .shape-main::before { left: 24px; }
.mock-auto .shape-main::after { right: 24px; }
.mock-auto .shape-detail { top: 20px; right: 7px; left: auto; background: #e2a83b; }
.mock-auto .shape-secondary { display: none; }
.mock-auto .concept-section-heading small,
.mock-auto .concept-features i { color: #e9b43d; }
.mock-auto .concept-section-heading strong { font-family: "Arial Narrow", "Segoe UI", sans-serif; text-transform: uppercase; }
.mock-auto .concept-features article { border-color: #33444f; border-radius: 2px; background: #19272f; }
.mock-auto .concept-highlights { border-color: #33444f; }
.mock-auto .concept-highlights div { border-color: #33444f; }
.mock-auto .concept-highlights strong { color: #e9b43d; font-family: "Arial Narrow", "Segoe UI", sans-serif; }
.mock-auto .concept-banner { border-radius: 2px; background: #e9b43d; color: #111a21; text-transform: uppercase; }

.mock-cafe { background: #c45631; color: #542a18; }
.mock-cafe .portfolio-home { background: #f3dfbb; }
.mock-cafe .concept-symbol { width: 26px; height: 18px; border-radius: 50%; background: #c45631; transform: rotate(-8deg); }
.mock-cafe .concept-nav-button { border: 1px solid #542a18; background: transparent; color: #542a18; }
.mock-cafe .concept-hero { margin-top: 8px; padding: 17px 17px 14px; border-radius: 58% 58% 16px 16px; background: #c45631; color: #fff4df; }
.mock-cafe .concept-copy strong { font-size: clamp(1.02rem, 2vw, 1.55rem); font-weight: 500; }
.mock-cafe .concept-cta { background: #f3dfbb; color: #542a18; }
.mock-cafe .shape-main {
  inset: 17px 25px 12px 20px;
  border-radius: 18px 18px 52% 52%;
  background: linear-gradient(180deg, #fffdf8 0 18%, #b67748 19% 42%, #f0d5b7 43%);
  box-shadow: 0 18px 30px rgba(85, 53, 34, 0.18);
}
.mock-cafe .shape-main::after {
  position: absolute;
  top: 22%;
  right: -28px;
  width: 42px;
  height: 50px;
  border: 9px solid #f0d5b7;
  border-left: 0;
  border-radius: 0 50% 50% 0;
  content: "";
}
.mock-cafe .shape-detail { top: 5px; left: 4px; border-radius: 50% 45% 50% 42%; background: #70442b; transform: rotate(28deg); }
.mock-cafe .shape-secondary { display: none; }
.mock-cafe .concept-section-heading { padding-top: 10px; }
.mock-cafe .concept-features article { border: 0; background: #fff4df; box-shadow: 0 7px 15px rgba(84, 42, 24, 0.08); }
.mock-cafe .concept-features article:nth-child(1) { transform: rotate(-1.5deg); }
.mock-cafe .concept-features article:nth-child(3) { transform: rotate(1.5deg); }
.mock-cafe .concept-highlights { border-color: rgba(84, 42, 24, 0.2); }
.mock-cafe .concept-highlights div { border-color: rgba(84, 42, 24, 0.2); }
.mock-cafe .concept-banner { border-radius: 999px; background: #c45631; }

.mock-education { background: #a7cae9; color: #173e68; }
.mock-education .portfolio-home { background: #f7faff; }
.mock-education .concept-symbol { border-radius: 7px 7px 50% 7px; background: #2eae83; }
.mock-education .concept-nav-button,
.mock-education .concept-cta { background: #2eae83; }
.mock-education .concept-hero { margin-top: 8px; padding: 18px; border-radius: 18px; background: #e4f0fb; }
.mock-education .concept-copy strong { font-family: "Aptos", "Segoe UI", sans-serif; font-weight: 850; letter-spacing: -0.05em; }
.mock-education .shape-main {
  inset: 12px 8px 20px 14px;
  border-radius: 20px;
  background: linear-gradient(145deg, #255f9f, #153c68);
  transform: rotate(-4deg);
}
.mock-education .shape-main::before,
.mock-education .shape-main::after {
  position: absolute;
  right: 18px;
  left: 18px;
  height: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  content: "";
}
.mock-education .shape-main::before { top: 35px; box-shadow: 0 18px 0 rgba(255, 255, 255, 0.5); }
.mock-education .shape-main::after { bottom: 27px; width: 54%; }
.mock-education .shape-detail { top: 2px; left: 0; border-radius: 50%; background: #f1b948; }
.mock-education .shape-secondary { right: -8px; bottom: 1px; border-color: #f7faff; background: #8aabd0; }
.mock-education .concept-section-heading strong { font-family: "Aptos", "Segoe UI", sans-serif; }
.mock-education .concept-features article { border-color: rgba(23, 62, 104, 0.12); border-radius: 12px; background: #ffffff; box-shadow: 0 7px 16px rgba(23, 62, 104, 0.06); }
.mock-education .concept-features article:nth-child(2) { background: #e3f5ee; }
.mock-education .concept-highlights { border-color: rgba(23, 62, 104, 0.12); }
.mock-education .concept-highlights div { border-color: rgba(23, 62, 104, 0.12); }
.mock-education .concept-highlights strong { font-family: "Aptos", "Segoe UI", sans-serif; font-weight: 850; }
.mock-education .concept-banner { border-radius: 10px; background: #2eae83; }

.portfolio-body {
  position: relative;
  padding: 32px;
}

.portfolio-number {
  position: absolute;
  top: 34px;
  right: 34px;
  color: #a08459;
  font-family: Georgia, serif;
  font-size: 0.8rem;
}

.portfolio-sector {
  margin-bottom: 10px;
  color: #7a6444;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-body h2 { margin-bottom: 15px; font-size: 2.05rem; }
.portfolio-body > p:not(.portfolio-sector) { color: var(--muted); }
.portfolio-body ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 22px 0 0; padding: 0; list-style: none; }
.portfolio-body li { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: #536074; font-size: 0.72rem; }

/* Consultation */
.consultation-hero {
  padding-bottom: 64px;
}

.consultation-layout {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
  gap: 22px;
  padding-bottom: 34px;
}

.consultation-aside {
  padding: clamp(34px, 5vw, 52px);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.consultation-aside h2 {
  margin-bottom: 52px;
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.consultation-aside ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.consultation-aside li {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 17px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.consultation-aside li > span { color: #d2b98c; font-family: Georgia, serif; font-size: 0.8rem; }
.consultation-aside strong { display: block; margin-bottom: 5px; }
.consultation-aside li p { margin: 0; color: #c5ceda; font-size: 0.9rem; }

.aside-note {
  display: flex;
  gap: 13px;
  margin-top: 48px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.aside-note > span { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--cream); color: var(--navy); font-weight: 900; }
.aside-note p { margin: 0; color: #d5dbe4; font-size: 0.82rem; }
.aside-note strong { color: white; }

.consultation-form {
  padding: clamp(34px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf7;
}

.form-heading {
  margin-bottom: 34px;
}

.form-heading h2 {
  margin-bottom: 10px;
  font-size: 2.5rem;
}

.form-heading > p:last-child { margin: 0; color: var(--muted); font-size: 0.85rem; }
.form-heading > p:last-child span,
.consultation-form label b { color: #8c3e35; }

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

.consultation-form label > span:first-child {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 750;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #c9ccd1;
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.consultation-form textarea {
  min-height: 148px;
  resize: vertical;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(9, 26, 51, 0.09);
}

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

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 26px;
  color: #4e5b6d;
  cursor: pointer;
  font-size: 0.84rem;
}

.checkbox-stack {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.checkbox-stack .checkbox-field {
  margin-top: 0;
}

.checkbox-field a,
.privacy-note a {
  color: var(--navy);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(9, 26, 51, 0.35);
  text-underline-offset: 3px;
}

.checkbox-field input {
  width: 19px;
  min-height: 19px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--navy);
}

.submit-button {
  width: 100%;
  margin-top: 28px;
}

.form-helper {
  margin: 13px 0 0;
  color: #6a7482;
  font-size: 0.78rem;
  text-align: center;
}

.form-status {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid #91a794;
  border-radius: 9px;
  background: #edf4ed;
  color: #24452a;
  font-size: 0.86rem;
}

.form-status strong,
.form-status p {
  display: block;
  margin: 0;
}

.form-status p {
  margin-top: 4px;
}

.form-status.error {
  border-color: #c78f88;
  background: #fff1ef;
  color: #702b23;
}

.website-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Footer */
.site-footer {
  padding-top: 75px;
  background: var(--navy-deep);
  color: #c4ccd7;
}

.footer-grid {
  display: grid;
  padding-bottom: 60px;
  grid-template-columns: 1.25fr 0.62fr 0.9fr 0.82fr;
  gap: 48px;
}

.footer-brand .brand-logo { border-color: rgba(255, 255, 255, 0.18); box-shadow: none; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-name b { color: #9ca8b8; }
.footer-grid > div > p { max-width: 390px; margin: 22px 0 0; color: #aeb8c6; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid nav strong { margin-bottom: 7px; color: var(--white); font-size: 0.78rem; letter-spacing: 0.11em; text-transform: uppercase; }
.footer-grid nav a { color: #b8c2cf; font-size: 0.9rem; }
.footer-grid nav a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p { margin: 0; color: #8996a7; font-size: 0.76rem; }

/* Legal pages */
.legal-hero {
  padding-bottom: 50px;
}

.legal-hero h1 {
  max-width: 880px;
}

.legal-hero > p:last-child {
  max-width: 760px;
}

.legal-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 240px minmax(0, 760px);
  gap: clamp(38px, 7vw, 90px);
  padding-bottom: 110px;
}

.legal-summary {
  position: sticky;
  top: 112px;
  padding: 24px;
  border-left: 3px solid var(--navy);
  background: var(--cream);
}

.legal-summary strong,
.legal-summary span {
  display: block;
}

.legal-summary strong {
  margin-bottom: 7px;
  color: var(--navy);
}

.legal-summary span {
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-content section + section {
  margin-top: 46px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 17px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-size: 1.18rem;
}

.legal-content p,
.legal-content li {
  color: #4e5b6d;
}

.legal-content ul {
  display: grid;
  gap: 9px;
  padding-left: 20px;
}

.legal-content a {
  color: var(--navy);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-warning {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbf8f2;
  font-size: 0.9rem;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
  .desktop-nav { gap: 17px; }
  .header-cta { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr); }
  .note-mobile { right: -10px; }
  .note-support { left: -20px; }
  .package-card { padding: 30px 25px; }
}

@media (max-width: 880px) {
  :root { --shell: min(100% - 36px, 720px); }
  .header-inner { min-height: 72px; }
  .desktop-nav { display: none; }
  .menu-button {
    display: flex;
    width: 46px;
    height: 46px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
  }
  .menu-button span { width: 18px; height: 2px; background: var(--navy); transition: transform 180ms ease, opacity 180ms ease; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-panel {
    display: grid;
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid transparent;
    background: var(--white);
    opacity: 0;
    transition: max-height 220ms ease, opacity 180ms ease, border-color 180ms ease;
  }
  .mobile-panel.is-open { max-height: 360px; border-top-color: var(--line); opacity: 1; }
  .mobile-panel nav { display: flex; flex-direction: column; padding-block: 13px 20px; }
  .mobile-panel a { padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 700; }
  .mobile-panel a[aria-current="page"] { color: #8a6c3f; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 78px; }
  .hero-copy { max-width: 700px; }
  .hero-visual { width: min(620px, 92%); margin-inline: auto; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .signal-grid p:nth-child(3) { border-left: 1px solid rgba(9, 26, 51, 0.12); border-top: 1px solid rgba(9, 26, 51, 0.12); }
  .signal-grid p:nth-child(4) { border-top: 1px solid rgba(9, 26, 51, 0.12); }
  .content-section { padding-block: 90px; }
  .split-heading { grid-template-columns: 1fr; gap: 22px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { min-height: 500px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 35px 0; }
  .cta-panel { grid-template-columns: 1fr; margin-bottom: 90px; }
  .package-grid { grid-template-columns: 1fr; gap: 28px; }
  .maintenance-grid { grid-template-columns: 1fr; gap: 28px; }
  .package-description { min-height: auto; }
  .portfolio-hero { grid-template-columns: 1fr; gap: 28px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .consultation-layout { grid-template-columns: 1fr; }
  .consultation-aside h2 { max-width: 620px; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 28px); }
  body { font-size: 15px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .brand-name { font-size: 0.86rem; }
  .brand-logo { width: 40px; height: 40px; border-radius: 10px; }
  .hero { padding-block: 60px 72px; }
  .hero-lead { font-size: 1rem; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button-row .button { width: 100%; }
  .hero-proof { flex-direction: column; }
  .hero-visual { width: 100%; }
  .browser-card { transform: none; }
  .browser-content { padding: 13px; }
  .mock-hero { min-height: 250px; }
  .mock-art { height: 190px; transform: scale(0.8); }
  .floating-note { display: none; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid p,
  .signal-grid p:nth-child(3),
  .signal-grid p:nth-child(4) { border: 0; border-bottom: 1px solid rgba(9, 26, 51, 0.12); }
  .signal-grid p:last-child { border-bottom: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 30px 26px; }
  .card-number { margin-bottom: 30px; }
  .why-visual { min-height: 420px; padding: 30px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: auto; padding-inline: 10px; }
  .process-grid li > span { margin-bottom: 32px; }
  .cta-panel { padding: 34px 26px; }
  .page-hero { padding-block: 78px 55px; }
  .page-hero h1 { font-size: clamp(2.65rem, 14vw, 4.2rem); }
  .package-card { padding: 32px 24px; }
  .maintenance-section { padding-top: 70px; }
  .extras-section { padding-top: 70px; }
  .extras-table th,
  .extras-table td { padding: 17px 20px; }
  .package-note,
  .privacy-note { grid-template-columns: 1fr; gap: 10px; margin-bottom: 75px; padding: 24px; }
  .portfolio-mock { aspect-ratio: 1 / 1.32; padding: 15px 15px 0; }
  .portfolio-home { padding: 11px 12px 14px; }
  .concept-nav { gap: 7px; }
  .concept-nav-links { gap: 6px; }
  .concept-nav-links span { font-size: 0.34rem; }
  .concept-hero { min-height: 168px; gap: 10px; padding-block: 15px 10px; }
  .concept-visual { min-height: 138px; }
  .concept-copy p { margin-block: 7px 9px; font-size: 0.36rem; -webkit-line-clamp: 2; }
  .concept-features article { min-height: 58px; padding: 6px; }
  .concept-banner { margin-top: 6px; }
  .portfolio-body { padding: 26px 22px; }
  .consultation-form,
  .consultation-aside { padding: 30px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

.footer-link-button {
  width: fit-content;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.footer-link-button:hover,
.footer-link-button:focus-visible { color: var(--cream); }

.cookie-banner {
  position: fixed;
  z-index: 1000;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  left: clamp(14px, 3vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  max-width: 980px;
  margin-inline: auto;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background: rgba(9, 26, 51, 0.98);
  color: var(--white);
  box-shadow: 0 24px 70px rgba(5, 17, 33, 0.32);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.cookie-banner[hidden] { display: none; }
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner__copy { max-width: 700px; }
.cookie-banner__copy strong { display: block; margin-bottom: 8px; font-size: 1.08rem; }
.cookie-banner__copy p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; line-height: 1.65; }
.cookie-banner__copy a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-banner__actions .button { min-width: 112px; padding: 13px 18px; }
.cookie-banner__actions .cookie-reject { border-color: rgba(255, 255, 255, 0.42); color: var(--white); }
.cookie-banner__actions .cookie-reject:hover { border-color: var(--cream); color: var(--cream); }

@media (max-width: 720px) {
  .cookie-banner { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .button { flex: 1; }
}

@media (max-width: 420px) {
  .cookie-banner__actions { flex-direction: column-reverse; }
  .cookie-banner__actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
