:root {
  --ink: #111817;
  --paper: #ffffff;
  --soft: #edf2ef;
  --line: #d9dfdb;
  --muted: #5b6763;
  --accent: #f1cf18;
  --accent-strong: #ffd900;
  --radius: 4px;
  --shadow: 0 24px 70px rgba(4, 14, 11, 0.18);
  --shell: min(1180px, calc(100% - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
}

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

.top-line {
  background: var(--accent);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.top-line__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-line a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  background: rgba(17, 24, 23, 0.94);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.brand__text strong {
  color: var(--accent);
}

.nav__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
  color: #cbd3d0;
  font-size: 14px;
  font-weight: 650;
}

.nav__links a {
  position: relative;
  padding-block: 8px;
}

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

.nav__links a:hover,
.nav__links a:focus-visible {
  color: #fff;
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  transform: translateY(-2px);
}

.button:focus-visible,
.text-link:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.button--small {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 14px;
}

.hero {
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero__grid {
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: clamp(46px, 7vw, 96px);
  align-items: center;
  padding-block: 74px 66px;
}

.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 34px;
  height: 3px;
  flex: 0 0 auto;
  background: currentColor;
}

.eyebrow--dark {
  color: #6a5b00;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(44px, 5.7vw, 76px);
  font-weight: 820;
  letter-spacing: -0.055em;
}

h1 em {
  display: block;
  color: var(--accent);
  font-style: normal;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: #c8d0cd;
  font-size: clamp(17px, 1.6vw, 20px);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.text-link span {
  font-size: 21px;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link--dark {
  color: var(--ink);
}

.hero__note {
  margin: 18px 0 0;
  color: #8f9c97;
  font-size: 14px;
}

.hero__visual {
  position: relative;
  padding: 0 18px 26px 0;
}

.hero__visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -18px;
  right: 0;
  width: 48%;
  height: 44%;
  background: var(--accent);
}

.hero__frame {
  position: relative;
  z-index: 1;
  height: 490px;
  overflow: hidden;
  background: #26302e;
  box-shadow: var(--shadow);
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
}

.work-label {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  min-width: 230px;
  padding: 17px 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.work-label span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-label strong {
  font-size: 15px;
}

.hero__services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__services span {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  color: #c8d0cd;
  font-size: 14px;
  font-weight: 760;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__services span:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.section {
  padding-block: clamp(82px, 10vw, 132px);
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

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

.section-heading {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 50px;
  align-items: end;
}

.section-heading h2,
.process-intro h2,
.about-copy h2,
.faq-layout h2,
.contact-copy h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.section-heading > p {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 17px;
}

.section-heading--light > p {
  color: #aeb9b5;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 305px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card--featured {
  grid-row: span 2;
  background: var(--ink);
  color: #fff;
}

.service-card__number {
  display: block;
  margin-bottom: 52px;
  color: #8a9692;
  font-size: 13px;
  font-weight: 850;
}

.service-card--featured .service-card__number {
  color: var(--accent);
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 24px;
  letter-spacing: -0.025em;
}

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

.service-card--featured p {
  color: #b9c3bf;
}

.service-card ul {
  margin: 28px 0 0;
  padding: 24px 0 0;
  display: grid;
  gap: 10px;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.service-card li::before {
  content: "—";
  margin-right: 10px;
  color: var(--accent);
}

.gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 290px 290px;
  gap: 18px;
}

.gallery__item {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #26302e;
}

.gallery__item--wide {
  grid-row: 1 / span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.gallery__item--wide img {
  object-position: center 35%;
}

.gallery__item:hover img {
  transform: scale(1.025);
}

.gallery__item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 20px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.process-layout,
.about-layout,
.faq-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(54px, 9vw, 120px);
}

.process-intro > p:not(.eyebrow),
.about-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin-block: 24px;
  color: var(--muted);
  font-size: 17px;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.steps li > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.steps h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-layout {
  align-items: center;
}

.about-statement {
  display: grid;
  gap: 9px;
}

.about-statement__line {
  width: fit-content;
  padding: 5px 12px 8px;
  background: var(--ink);
  color: #fff;
  font-size: clamp(30px, 4.1vw, 52px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.about-statement__line--accent {
  background: var(--accent);
  color: var(--ink);
}

.plain-list {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.plain-list li {
  padding-left: 28px;
  position: relative;
  font-weight: 700;
}

.plain-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 13px;
  height: 3px;
  background: #7a6800;
}

.faq-layout {
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  list-style: none;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 4px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 690px;
  margin: -6px 48px 24px 0;
  color: var(--muted);
}

.contact-section {
  padding-block: clamp(82px, 10vw, 130px);
  background: var(--ink);
  color: #fff;
}

.contact-layout {
  align-items: start;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin-block: 24px 34px;
  color: #b9c3bf;
  font-size: 17px;
}

.contact-direct {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-direct > * {
  padding-block: 17px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-direct span {
  color: #87948f;
  font-size: 13px;
  font-weight: 750;
}

.contact-direct strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.contact-direct a:hover strong {
  color: var(--accent);
}

.contact-form {
  padding: clamp(25px, 4vw, 42px);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-form__heading {
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
}

.contact-form__heading h3 {
  margin-bottom: 0;
  font-size: 29px;
  letter-spacing: -0.03em;
}

.contact-form__heading span {
  color: var(--muted);
  font-size: 13px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 17px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 800;
}

.field label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #c9d0cc;
  border-radius: 0;
  background: #f8faf8;
  color: var(--ink);
  font-size: 16px;
}

.field input {
  height: 50px;
  padding-inline: 13px;
}

.field textarea {
  min-height: 132px;
  padding: 12px 13px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: #756400;
  background: #fff;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__submit {
  width: 100%;
  margin-top: 3px;
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.contact-form__submit:hover {
  border-color: #26312e;
  background: #26312e;
}

.form-privacy {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.form-message {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-left: 4px solid;
  font-size: 14px;
  font-weight: 750;
}

.form-message--success {
  border-color: #168348;
  background: #eaf7ef;
  color: #115f36;
}

.form-message--error {
  border-color: #c73838;
  background: #fff0f0;
  color: #8c2424;
}

.site-footer {
  padding-block: 30px 92px;
  background: #090d0c;
  color: #9ba7a2;
  font-size: 13px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand--footer {
  color: #fff;
  font-size: 15px;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer > a:hover {
  color: #fff;
}

.mobile-actions {
  position: fixed;
  z-index: 50;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  grid-template-columns: 1fr 1fr;
  padding: 8px;
  background: rgba(9, 13, 12, 0.96);
  backdrop-filter: blur(10px);
}

.mobile-actions a {
  min-height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 850;
}

.mobile-actions a:last-child {
  background: var(--accent);
  color: var(--ink);
}

@media (max-width: 940px) {
  .nav__links {
    display: none;
  }

  .nav .button {
    margin-left: auto;
  }

  .hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 56px;
    padding-block: 68px;
  }

  .hero__copy,
  .hero__visual {
    max-width: 760px;
  }

  .hero__frame {
    height: min(66vw, 500px);
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card--featured {
    grid-row: span 1;
  }

  .gallery {
    grid-template-rows: 250px 250px;
  }

  .process-layout,
  .about-layout,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .about-statement {
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 30px, 1180px);
  }

  html {
    scroll-padding-top: 72px;
  }

  .top-line {
    display: none;
  }

  .nav {
    min-height: 68px;
  }

  .nav > .button {
    display: none;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .hero__grid {
    padding-block: 54px 46px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .hero__actions .text-link {
    width: fit-content;
  }

  .hero__visual {
    padding-right: 10px;
  }

  .hero__frame {
    height: 390px;
  }

  .work-label {
    min-width: 210px;
  }

  .hero__services {
    grid-template-columns: 1fr 1fr;
  }

  .hero__services span:nth-child(2) {
    border-right: 0;
  }

  .hero__services span:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-card__number {
    margin-bottom: 32px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 360px 300px 300px;
  }

  .gallery__item--wide {
    grid-row: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .contact-direct > * {
    grid-template-columns: 82px 1fr;
  }

  .site-footer {
    padding-bottom: 98px;
  }

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

  .mobile-actions {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
