:root {
  --ink: #20242d;
  --muted: #687071;
  --paper: #fff7dc;
  --surface: #fffdf6;
  --surface-strong: #ffffff;
  --line: #eadcb5;
  --gold: #f5bd2f;
  --gold-soft: #fff0b9;
  --gold-deep: #c98713;
  --green: #5f8f5a;
  --navy: #1f2c44;
  --navy-soft: #eef3f8;
  --coral: #bf624b;
  --shadow: 0 24px 70px rgba(92, 68, 21, 0.16);
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 8%, rgba(245, 189, 47, 0.28), transparent 30%),
    linear-gradient(180deg, #fff8df 0%, #fffdf7 42%, #fff8e8 100%);
  line-height: 1.7;
  letter-spacing: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(234, 220, 181, 0.9);
  background: rgba(255, 249, 226, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(201, 135, 19, 0.22);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  color: #fff !important;
  background: var(--navy);
  padding: 8px 14px !important;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 64px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.86), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(245, 189, 47, 0.34), transparent 34%),
    linear-gradient(135deg, #fff8dc 0%, #fff2bb 48%, #fffdf6 100%);
}

.hero-inner,
.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 26px 0 22px;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-media {
  position: relative;
  margin: 0;
  border: 1px solid rgba(234, 220, 181, 0.86);
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  pointer-events: none;
  z-index: 1;
}

.hero-media img {
  display: block;
  width: 100%;
  height: min(460px, 44vw);
  min-height: 340px;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-deep);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(36px, 4.1vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: #354247;
  font-size: clamp(16px, 1.8vw, 18px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(31, 44, 68, 0.22);
}

.button.secondary {
  color: var(--navy);
  border-color: rgba(201, 135, 19, 0.32);
  background: rgba(255, 255, 255, 0.72);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 520px;
  margin-top: 16px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(234, 220, 181, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(92, 68, 21, 0.1);
}

.trust-badge img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.trust-badge p {
  margin: 0;
  color: #4a4f52;
  font-weight: 700;
  font-size: 14px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 760px;
  margin: 18px 0 0;
}

.hero-stats div {
  flex: 1 1 150px;
  padding: 9px 12px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(92, 68, 21, 0.08);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 12px;
}

.hero-stats dd {
  margin: 4px 0 0;
  font-weight: 800;
  font-size: 14px;
}

.section {
  padding: 84px 0;
}

.section:nth-of-type(even) {
  background: #fffdf6;
}

.intro-layout,
.promise-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.intro-copy p,
.contact p {
  margin-top: 0;
  color: #354247;
}

.workflow-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.workflow-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

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

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.service-grid,
.work-list,
.promise-list,
.process-list {
  display: grid;
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid article,
.work-card,
.promise-list article,
.process-list li,
.message-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(92, 68, 21, 0.07);
}

.service-grid article {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 252, 241, 0.98)),
    var(--surface);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold-deep);
  font-weight: 900;
}

.service-grid h3,
.work-card h3,
.promise-list h3,
.process-list h3 {
  margin: 0 0 10px;
  line-height: 1.35;
  letter-spacing: 0;
}

.service-grid p,
.work-card p,
.promise-list p,
.process-list p {
  margin: 0;
  color: var(--muted);
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-width: 74px;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
}

.filter-button.active {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

.work-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.work-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 240, 0.98)),
    var(--surface);
}

.work-card.is-hidden {
  display: none;
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.work-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(245, 189, 47, 0.22);
  font-size: 12px;
  font-weight: 700;
}

.work-card ul {
  margin: 18px 0 0;
  padding-left: 1.1em;
  color: #354247;
}

.work-card li + li {
  margin-top: 8px;
}

.promise {
  background:
    radial-gradient(circle at 18% 8%, rgba(245, 189, 47, 0.2), transparent 32%),
    #fff3c4;
}

.promise-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.promise-list article {
  padding: 22px;
}

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

.process-list li {
  padding: 22px;
}

.process-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-weight: 800;
}

.contact {
  background:
    radial-gradient(circle at 16% 12%, rgba(245, 189, 47, 0.22), transparent 34%),
    linear-gradient(135deg, #1f2c44 0%, #26344d 62%, #3a3527 100%);
  color: #fff;
}

.contact .eyebrow,
.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.contact-copy {
  position: relative;
}

.contact-avatar {
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.message-box {
  padding: 24px;
  color: var(--ink);
}

.message-box p {
  color: #354247;
}

.copy-button {
  margin-top: 18px;
}

.copy-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--navy) !important;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--navy);
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 54px;
  }

  .hero-media img {
    height: 360px;
    min-height: 0;
  }

  .hero-stats,
  .service-grid,
  .work-list,
  .promise-list,
  .process-list,
  .hero-content,
  .intro-layout,
  .promise-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section-heading.split {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand {
    white-space: normal;
  }

  .site-nav {
    gap: 12px;
    font-size: 13px;
  }

  h1 {
    font-size: 34px;
  }

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

  .hero-media img {
    height: 220px;
  }

  .trust-badge {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stats div,
  .service-grid article,
  .work-card,
  .promise-list article,
  .process-list li,
  .message-box {
    padding: 20px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-stats {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
