:root {
  --ink: #24303f;
  --muted: #667085;
  --cream: #fff8ef;
  --paper: #fffdf8;
  --pearl: #f8efe1;
  --sapphire: #2456a6;
  --sky: #b7d8ff;
  --coral: #ef806f;
  --marigold: #f6c65b;
  --leaf: #5f946f;
  --plum: #8b5b86;
  --line: rgba(36, 48, 63, 0.14);
  --shadow: 0 18px 38px rgba(39, 47, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14px 14px, rgba(36, 86, 166, 0.08) 1px, transparent 1.4px),
    var(--cream);
  background-size: 34px 34px;
  font-family: "Nunito Sans", "Avenir Next", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 248, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--paper);
  background: var(--sapphire);
  border: 2px solid #163b7c;
  border-radius: 50%;
  font-family: "Fraunces", Georgia, serif;
  font-size: 17px;
  font-weight: 650;
}

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

.brand strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 20px;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: #38465a;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  background: #ffffff;
  color: var(--sapphire);
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
  min-height: 0;
  padding: clamp(30px, 4vw, 44px) clamp(18px, 5vw, 72px) 22px;
}

.hero-copy {
  max-width: 640px;
}

.script-line {
  margin: 0 0 12px;
  color: var(--plum);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 650;
}

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

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.02;
}

h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(42px, 4.4vw, 52px);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 25px;
}

.hero-copy p:not(.script-line),
.page-hero p,
.intro-band p,
.cta p {
  color: #4b5b70;
  font-size: clamp(18px, 1.6vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--sapphire);
  border-color: #1b4385;
}

.button.secondary {
  background: #ffffff;
  border-color: var(--line);
}

.button.light {
  color: var(--ink);
  background: var(--paper);
  border-color: rgba(255, 255, 255, 0.65);
}

.hero-image {
  position: relative;
  margin: 0;
}

.hero-image::before {
  position: absolute;
  inset: -22px;
  z-index: -1;
  content: "";
  background:
    linear-gradient(135deg, rgba(246, 198, 91, 0.52), rgba(239, 128, 111, 0.36)),
    #ffe7d8;
  border: 1px solid rgba(36, 48, 63, 0.12);
  border-radius: 28px;
  transform: rotate(-2deg);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  border: 12px solid var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.intro-band {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 44px clamp(18px, 5vw, 72px);
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band div {
  max-width: 780px;
}

.intro-band h2 {
  margin-bottom: 12px;
}

.text-link {
  color: var(--sapphire);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  white-space: nowrap;
}

.section-wrap,
.portfolio-preview,
.process-strip,
.page {
  padding: clamp(56px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

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

.service-grid article,
.value-list article {
  min-height: 250px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.paper-icon {
  display: block;
  width: 54px;
  height: 70px;
  margin-bottom: 22px;
  border: 2px solid rgba(36, 48, 63, 0.18);
  border-radius: 7px;
  transform: rotate(-4deg);
}

.paper-icon.blue { background: var(--sky); }
.paper-icon.coral { background: #ffd2c9; }
.paper-icon.green { background: #cde7c9; }

.portfolio-preview {
  background: #eef7fb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.work-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  justify-content: end;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(36, 48, 63, 0.16);
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
}

.work-card span,
.suite-card span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-card strong {
  max-width: 320px;
  margin-top: 8px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 30px;
  line-height: 1.08;
}

.meadow {
  background:
    linear-gradient(160deg, rgba(255,255,255,0) 48%, rgba(255,255,255,0.62) 48.4%),
    #dcebcf;
}

.harbor {
  color: white;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.2) 0 18%, transparent 18.2%),
    #2456a6;
}

.citrus {
  background:
    linear-gradient(155deg, rgba(255,255,255,0.68) 0 27%, transparent 27.2%),
    #f8cf6d;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 24px 0;
  border-top: 2px solid var(--line);
}

.steps span,
.process-list span {
  color: var(--coral);
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  font-weight: 650;
}

.cta {
  margin: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 72px);
  padding: clamp(34px, 6vw, 60px);
  color: white;
  background:
    linear-gradient(135deg, rgba(36, 86, 166, 0.96), rgba(139, 91, 134, 0.94)),
    var(--sapphire);
  border-radius: 24px;
}

.cta h2 {
  max-width: 740px;
  margin-bottom: 14px;
}

.cta p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  gap: 30px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: #445166;
  background: #fffdf8;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
}

.site-footer p {
  margin: 8px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

.page {
  min-height: calc(100vh - 78px);
}

.page-hero {
  max-width: 900px;
  margin-bottom: 44px;
}

.about-hero,
.process-hero,
.inquiry-hero {
  position: relative;
}

.two-column,
.inquiry-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.two-column > div,
.inquiry-note,
.text-page section {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.values {
  margin-top: 48px;
}

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

.suite-card {
  min-height: 430px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.suite-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.suite-card div {
  padding: 26px;
}

.color-card {
  display: flex;
  align-items: end;
}

.process-list {
  display: grid;
  gap: 16px;
  max-width: 980px;
}

.process-list article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #425066;
  font-weight: 900;
}

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

input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffefa;
  border: 1px solid rgba(36, 48, 63, 0.22);
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(36, 86, 166, 0.2);
  border-color: var(--sapphire);
}

.inquiry-form .button {
  width: fit-content;
}

.text-page section h2 {
  margin-top: 26px;
  font-size: 28px;
}

.text-page section h2:first-child {
  margin-top: 0;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    color: var(--ink);
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    font-weight: 900;
  }

  .menu-icon {
    display: grid;
    gap: 4px;
  }

  .menu-icon span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(36, 48, 63, 0.14);
  }

  .site-nav.open {
    display: flex;
  }

  .hero,
  .two-column,
  .inquiry-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .intro-band {
    align-items: start;
    flex-direction: column;
  }

  .service-grid,
  .work-grid,
  .steps,
  .value-list,
  .portfolio-board {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 580px) {
  .site-header {
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }

  .brand strong {
    font-size: 17px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-image::before {
    inset: -12px;
    border-radius: 20px;
  }

  .hero-image img {
    border-width: 8px;
    border-radius: 16px;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .process-list article {
    grid-template-columns: 1fr;
  }

  .cta {
    border-radius: 16px;
  }
}
