:root {
  --ink: #17231e;
  --ink-deep: #0d1512;
  --paper: #f3efe6;
  --paper-warm: #e8e0d1;
  --stone: #a6a89f;
  --muted: #6f746d;
  --gold: #c69249;
  --gold-light: #ddba7c;
  --line: rgba(23, 35, 30, 0.16);
  --white: #fffdf8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: min(1180px, calc(100% - 48px));
  --shadow: 0 28px 70px rgba(18, 24, 20, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

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

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

button {
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: var(--ink-deep);
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

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

.section {
  padding: clamp(92px, 10vw, 152px) 0;
}

section[id] {
  scroll-margin-top: 82px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.topbar {
  position: relative;
  z-index: 30;
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

.topbar p {
  margin: 0;
}

.topbar a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--gold-light);
  font-weight: 700;
}

.topbar svg,
.button svg,
.mobile-contact svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header {
  position: absolute;
  z-index: 25;
  top: 34px;
  right: 0;
  left: 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-sticky {
  position: fixed;
  top: 0;
  color: var(--ink);
  background: rgba(243, 239, 230, 0.95);
  border-color: var(--line);
  box-shadow: 0 10px 40px rgba(13, 21, 18, 0.09);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

.brand__mark::before {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  content: "";
}

.brand__mark i {
  font-family: var(--serif);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.06em;
  transform: rotate(-45deg);
}

.brand__text {
  display: grid;
  line-height: 1.1;
}

.brand__text strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.brand__text small {
  margin-top: 6px;
  color: currentColor;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  opacity: 0.72;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  gap: clamp(24px, 3vw, 45px);
  align-items: center;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.primary-nav > a:not(.nav-cta) {
  position: relative;
  padding: 31px 0;
}

.primary-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 23px;
  left: 0;
  height: 1px;
  background: var(--gold-light);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.primary-nav > a:hover::after,
.primary-nav > a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 12px 20px;
  color: var(--ink-deep);
  background: var(--gold-light);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  padding: 10px;
  background: transparent;
  border: 0;
}

.menu-toggle span:not(.sr-only) {
  width: 24px;
  height: 1px;
  display: block;
  margin: 6px auto;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  min-height: 790px;
  height: 100svh;
  display: grid;
  align-items: center;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

.hero__media,
.hero__media img,
.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: center 46%;
  animation: hero-in 1.6s cubic-bezier(0.2, 0.65, 0.2, 1) both;
}

.hero__veil {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 15, 12, 0.92) 0%, rgba(11, 18, 15, 0.74) 39%, rgba(10, 17, 14, 0.22) 72%, rgba(10, 17, 14, 0.35) 100%),
    linear-gradient(0deg, rgba(5, 10, 8, 0.65), transparent 48%);
}

.hero__motif {
  position: absolute;
  z-index: 2;
  top: 118px;
  bottom: 0;
  left: max(24px, calc((100vw - 1180px) / 2));
  width: 1px;
  background: linear-gradient(transparent 4%, rgba(255, 255, 255, 0.22) 25%, rgba(255, 255, 255, 0.22) 84%, transparent);
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-top: 105px;
}

.hero__copy {
  width: min(780px, 75%);
  margin-left: clamp(20px, 4vw, 64px);
}

.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 24px;
  color: #8d6a37;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 1px;
  display: inline-block;
  background: currentColor;
}

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

.hero h1,
.section-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(54px, 7.3vw, 104px);
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.24);
}

.hero h1 em,
.section-title em {
  color: var(--gold-light);
  font-weight: 400;
}

.hero__lead {
  max-width: 630px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 34px;
  align-items: center;
  margin-top: 38px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

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

.button--gold {
  color: var(--ink-deep);
  background: var(--gold-light);
}

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

.button--outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

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

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

.button--dark:hover {
  background: #2a3b33;
}

.text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.text-link span {
  font-size: 17px;
  transition: transform 0.25s ease;
}

.text-link:hover span {
  transform: translate(4px, 3px);
}

.text-link--light {
  color: rgba(255, 255, 255, 0.88);
}

.hero__note {
  position: absolute;
  right: 0;
  bottom: -128px;
  width: 350px;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 22px 26px;
  background: rgba(13, 21, 18, 0.88);
  border-left: 2px solid var(--gold);
  backdrop-filter: blur(12px);
}

.hero__note-number {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 33px;
  line-height: 1;
}

.hero__note strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.hero__note p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__scroll {
  position: absolute;
  z-index: 4;
  bottom: 28px;
  left: max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  gap: 16px;
  align-items: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll i {
  position: relative;
  width: 1px;
  height: 44px;
  display: block;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.25);
}

.hero__scroll i::after {
  position: absolute;
  top: -50%;
  left: 0;
  width: 1px;
  height: 50%;
  background: var(--gold-light);
  content: "";
  animation: scroll-line 2.1s ease-in-out infinite;
}

.intro {
  position: relative;
  overflow: hidden;
}

.intro::before {
  position: absolute;
  top: 0;
  right: -10%;
  width: 58%;
  height: 100%;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent 63px, rgba(23, 35, 30, 0.035) 64px),
    repeating-linear-gradient(0deg, transparent 0, transparent 63px, rgba(23, 35, 30, 0.035) 64px);
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000);
}

.intro__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: clamp(70px, 9vw, 130px);
  align-items: center;
}

.intro__visual {
  position: relative;
  min-height: 690px;
}

.intro__image {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--stone);
  box-shadow: var(--shadow);
}

.intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro__image--main {
  inset: 0 14% 13% 0;
}

.intro__image--detail {
  right: 0;
  bottom: 0;
  width: 42%;
  height: 50%;
  border: 10px solid var(--paper);
}

.intro__seal {
  position: absolute;
  z-index: 2;
  top: 45px;
  right: 5.5%;
  width: 112px;
  height: 112px;
  display: grid;
  place-content: center;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 7px var(--ink), 0 0 0 8px rgba(198, 146, 73, 0.6);
  text-align: center;
}

.intro__seal strong {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
  line-height: 1;
}

.intro__seal span {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.8;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(43px, 5.1vw, 71px);
}

.section-title em {
  color: #9b7035;
}

.section-title--light {
  color: var(--white);
}

.section-title--light em {
  color: var(--gold-light);
}

.intro__lede {
  margin: 36px 0 18px;
  color: #3b4a42;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.65;
}

.intro__copy > p:not(.eyebrow):not(.intro__lede) {
  color: var(--muted);
}

.intro__features {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.intro__features > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.intro__features span {
  color: #a2753a;
  font-family: var(--serif);
  font-size: 14px;
}

.intro__features p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.intro__features strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.services {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.045), transparent 24%),
    var(--ink);
  overflow: hidden;
}

.services::after,
.process::after {
  position: absolute;
  right: -170px;
  bottom: -240px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(221, 186, 124, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(221, 186, 124, 0.035), 0 0 0 110px rgba(221, 186, 124, 0.025);
  content: "";
  pointer-events: none;
}

.section-heading,
.portfolio__top {
  display: grid;
  grid-template-columns: minmax(480px, 1fr) minmax(260px, 430px);
  gap: 80px;
  align-items: end;
  margin-bottom: 66px;
}

.section-heading > p,
.portfolio__top > p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.56);
  line-height: 1.8;
}

.service-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card a {
  position: relative;
  min-height: 500px;
  display: block;
  overflow: hidden;
  background: var(--ink-deep);
}

.service-card figure {
  position: absolute;
  inset: 0;
  margin: 0;
}

.service-card figure::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 13, 10, 0.93) 0%, rgba(7, 13, 10, 0.1) 68%);
  content: "";
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
  transition: filter 0.5s ease, transform 0.8s cubic-bezier(0.2, 0.65, 0.2, 1);
}

.service-card:nth-child(2) img {
  object-position: 48% center;
}

.service-card:nth-child(3) img {
  object-position: 50% 42%;
}

.service-card:hover img {
  filter: saturate(1);
  transform: scale(1.045);
}

.service-card__index {
  position: absolute;
  top: 22px;
  left: 24px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--serif);
  font-size: 14px;
}

.service-card__content {
  position: absolute;
  right: 26px;
  bottom: 27px;
  left: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.service-card__content p {
  margin: 0 0 6px;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-card__content h3 {
  max-width: 80%;
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.service-card__arrow {
  position: absolute;
  right: 0;
  bottom: 2px;
  font-size: 26px;
  transition: transform 0.25s ease;
}

.service-card:hover .service-card__arrow {
  transform: translate(4px, -4px);
}

.portfolio {
  padding-bottom: 110px;
}

.portfolio__top > p {
  color: var(--muted);
}

.filter-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 34px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.filter-button {
  flex: 0 0 auto;
  padding: 12px 17px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filter-button span {
  margin-left: 5px;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 400;
  opacity: 0.65;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--ink);
  border-color: var(--ink);
}

.portfolio-grid {
  display: grid;
  grid-auto-rows: 320px;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project-card {
  min-width: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.project-card--wide {
  grid-column: span 2;
}

.project-card--tall {
  grid-row: span 2;
}

.project-card.is-filtered-out,
.project-card.is-collapsed {
  display: none;
}

.project-card > button {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  color: var(--white);
  background: var(--ink);
  border: 0;
  overflow: hidden;
  text-align: left;
}

.project-card figure,
.project-card figure::after {
  position: absolute;
  inset: 0;
  margin: 0;
}

.project-card figure::after {
  background: linear-gradient(0deg, rgba(5, 10, 8, 0.86), transparent 55%);
  content: "";
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.2, 0.65, 0.2, 1);
}

.project-card:hover img {
  transform: scale(1.045);
}

.project-card__meta {
  position: absolute;
  right: 20px;
  bottom: 19px;
  left: 22px;
}

.project-card__meta span {
  color: var(--gold-light);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-card__meta h3 {
  max-width: calc(100% - 40px);
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
}

.project-card__meta i {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 24px;
  font-style: normal;
  font-weight: 200;
  transition: transform 0.25s ease;
}

.project-card:hover .project-card__meta i {
  transform: rotate(90deg);
}

.portfolio__more {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.portfolio__more i {
  font-size: 17px;
  font-style: normal;
  transition: transform 0.25s ease;
}

#load-more[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.craft {
  position: relative;
  background: #e4dccc;
  overflow: hidden;
}

.craft::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 35, 30, 0.08) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
  content: "";
  opacity: 0.25;
}

.craft__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(60px, 8vw, 115px);
  align-items: center;
}

.craft__copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 34px 0;
  color: #5c655f;
}

.craft blockquote {
  margin: 0 0 32px;
  padding: 5px 0 5px 23px;
  color: #5d4526;
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.55;
}

.craft__media {
  position: relative;
  padding: 0 0 48px 44px;
}

.craft__media::before {
  position: absolute;
  top: 48px;
  right: 42px;
  bottom: 0;
  left: 0;
  border: 1px solid rgba(23, 35, 30, 0.22);
  content: "";
}

.craft__media video {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.craft__caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 17px;
  min-width: 220px;
  padding: 16px 20px;
  color: var(--white);
  background: var(--ink);
}

.craft__caption span,
.craft__caption strong {
  display: block;
}

.craft__caption span {
  color: var(--gold-light);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.craft__caption strong {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.process {
  position: relative;
  color: var(--white);
  background: var(--ink-deep);
  overflow: hidden;
}

.process::after {
  top: -250px;
  right: -230px;
  bottom: auto;
}

.process__heading {
  max-width: 720px;
  margin-bottom: 72px;
}

.process-list {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: minmax(90px, 0.35fr) 1.65fr;
  gap: 20px;
  padding: 31px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.process-list li > span {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 17px;
}

.process-list h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 400;
}

.process-list p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.53);
}

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

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(60px, 9vw, 130px);
  align-items: start;
}

.contact__copy > p:not(.eyebrow) {
  max-width: 490px;
  margin: 32px 0;
  color: var(--muted);
}

.contact__details {
  display: flex;
  gap: 28px 42px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact__phone {
  display: inline-grid;
  padding-top: 17px;
  border-top: 1px solid var(--ink);
}

.contact__phone span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact__phone strong {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 400;
}

.contact__location {
  min-width: 205px;
  display: flex;
  gap: 11px;
  align-items: center;
  padding-top: 17px;
  border-top: 1px solid var(--ink);
}

.contact__location svg {
  width: 25px;
  flex: 0 0 25px;
  fill: none;
  stroke: var(--gold-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.contact__location span {
  display: grid;
  gap: 3px;
}

.contact__location small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact__location strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.contact__location:hover strong {
  color: var(--gold-dark);
}

.contact-form {
  padding: clamp(26px, 4vw, 48px);
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: 0 28px 70px rgba(26, 32, 28, 0.09);
}

.contact-form label {
  display: grid;
  margin-bottom: 22px;
  color: #424b46;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-form label > span {
  color: #9b6236;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 11px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(23, 35, 30, 0.24);
  border-radius: 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  outline: 0;
  text-transform: none;
  transition: border-color 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form input[aria-invalid="true"] {
  border-color: #a0392d;
}

.contact-form .button {
  width: 100%;
  margin-top: 2px;
}

.contact-form > small {
  display: block;
  margin-top: 12px;
  color: #777d78;
  font-size: 10px;
  letter-spacing: 0.01em;
  line-height: 1.5;
  text-align: center;
}

.form-error {
  min-height: 20px;
  margin: -7px 0 9px;
  color: #9d3027;
  font-size: 12px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.62);
  background: var(--ink-deep);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.7fr;
  gap: 80px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
}

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

.footer__top > p {
  max-width: 490px;
  margin: 0;
  font-size: 13px;
}

.footer__contact {
  display: grid;
}

.footer__contact span {
  color: var(--gold-light);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer__phone {
  margin-top: 6px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 24px;
}

.footer__map {
  width: fit-content;
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.footer__map svg {
  width: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: var(--gold-light);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.footer__map:hover {
  color: var(--white);
}

.footer__social {
  display: flex;
  gap: 9px;
  margin-top: 14px;
}

.footer__social a {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer__social a:hover {
  color: var(--ink-deep);
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.footer__social img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer__bottom p {
  margin: 0;
}

.mobile-contact {
  display: none;
}

.social-fab {
  position: fixed;
  z-index: 38;
  right: 22px;
  bottom: 25px;
  display: grid;
  gap: 10px;
}

.social-fab__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.social-fab__icon {
  position: relative;
  z-index: 1;
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  filter: drop-shadow(0 9px 13px rgba(13, 21, 18, 0.25));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-fab__item--phone .social-fab__icon {
  color: var(--white);
  background: #378b5d;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.92);
}

.social-fab__item--phone .social-fab__icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.social-fab__item--messenger .social-fab__icon {
  background: transparent;
}

.social-fab__item--messenger::after {
  position: absolute;
  z-index: 2;
  top: -2px;
  right: -2px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  color: var(--ink-deep);
  background: var(--gold-light);
  border: 1px solid var(--white);
  border-radius: 50%;
  content: "1";
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

.social-fab__item--messenger:nth-child(3)::after {
  content: "2";
}

.social-fab__item--zalo .social-fab__icon,
.social-fab__item--maps .social-fab__icon {
  background: transparent;
}

.social-fab__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-fab__label {
  position: absolute;
  right: 37px;
  min-width: max-content;
  padding: 8px 22px 8px 12px;
  color: var(--white);
  background: var(--ink-deep);
  border-radius: 3px 0 0 3px;
  box-shadow: 0 8px 24px rgba(13, 21, 18, 0.16);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  text-transform: uppercase;
  transform: translateX(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-fab__item:hover .social-fab__icon,
.social-fab__item:focus-visible .social-fab__icon {
  transform: translateY(-2px);
}

.social-fab__item:hover .social-fab__label,
.social-fab__item:focus-visible .social-fab__label {
  opacity: 1;
  transform: translateX(0);
}

.lightbox,
.consult-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  place-items: center;
  padding: 24px;
}

.lightbox:not([hidden]),
.consult-modal:not([hidden]) {
  display: grid;
}

.lightbox__backdrop,
.consult-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 8, 0.92);
  backdrop-filter: blur(12px);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 94vw);
  max-height: 90vh;
  color: var(--white);
}

.lightbox__dialog figure {
  height: min(78vh, 780px);
  margin: 0;
  background: #050a08;
}

.lightbox__dialog img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox__dialog p {
  margin: 14px 48px 0 0;
  font-family: var(--serif);
  font-size: 20px;
}

.lightbox__close,
.consult-modal__close {
  position: absolute;
  z-index: 2;
  top: -48px;
  right: 0;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 28px;
  font-weight: 200;
  line-height: 1;
}

.consult-modal__backdrop {
  background: rgba(5, 10, 8, 0.82);
}

.consult-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(600px, 100%);
  max-height: 90vh;
  padding: clamp(26px, 5vw, 48px);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow-y: auto;
}

.consult-modal__close {
  top: 14px;
  right: 14px;
  color: var(--ink);
  border-color: var(--line);
}

.consult-modal h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 400;
  line-height: 1.1;
}

.consult-modal__dialog > p:not(.eyebrow):not(.copy-status) {
  color: var(--muted);
}

.consult-modal textarea {
  width: 100%;
  padding: 14px;
  color: #303934;
  background: var(--white);
  border: 1px solid var(--line);
  resize: none;
}

.consult-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.copy-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: #426349;
  font-size: 12px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.65, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-in {
  from { opacity: 0.35; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes scroll-line {
  0% { transform: translateY(0); }
  100% { transform: translateY(300%); }
}

@media (max-width: 980px) {
  :root { --container: min(100% - 36px, 760px); }

  .menu-toggle { display: block; }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 14px 18px 22px;
    color: var(--ink);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 35px rgba(13, 21, 18, 0.12);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .primary-nav.is-open { transform: scaleY(1); opacity: 1; pointer-events: auto; }
  .primary-nav > a:not(.nav-cta) { padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .primary-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 12px; text-align: center; }

  .hero__copy { width: calc(100% - 30px); }
  .hero__note { bottom: -136px; }
  .hero__veil { background: linear-gradient(90deg, rgba(8, 15, 12, 0.92), rgba(8, 15, 12, 0.56)), linear-gradient(0deg, rgba(5, 10, 8, 0.65), transparent 50%); }

  .intro__grid,
  .craft__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .intro__grid { gap: 72px; }
  .intro__visual { min-height: 650px; }
  .intro__copy { max-width: 650px; }

  .section-heading,
  .portfolio__top { grid-template-columns: 1fr; gap: 28px; }
  .section-heading > p,
  .portfolio__top > p { max-width: 600px; }

  .service-card a { min-height: 420px; }

  .portfolio-grid { grid-auto-rows: 280px; grid-template-columns: repeat(2, 1fr); }
  .project-card--tall { grid-row: span 1; }
  .project-card--wide { grid-column: span 1; }

  .craft__copy { max-width: 650px; }
  .craft__media { width: min(100%, 720px); }

  .contact__grid { gap: 60px; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 50px; }
  .footer__top > p { grid-row: 2; }
  .footer__contact { justify-self: end; }
}

@media (max-width: 680px) {
  :root { --container: calc(100% - 32px); }

  body { padding-bottom: 62px; }
  .section { padding: 78px 0; }
  .topbar p { display: none; }
  .topbar__inner { justify-content: center; }
  .nav-wrap { min-height: 72px; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__mark::before { width: 28px; height: 28px; }
  .brand__text strong { font-size: 19px; }
  .brand__text small { font-size: 7px; }

  .hero { min-height: 720px; height: 100svh; max-height: 850px; }
  .hero__media img { object-position: 59% center; }
  .hero__veil { background: linear-gradient(90deg, rgba(8, 15, 12, 0.91), rgba(8, 15, 12, 0.55)), linear-gradient(0deg, rgba(5, 10, 8, 0.78), transparent 56%); }
  .hero__motif { left: 16px; }
  .hero__content { padding-top: 80px; }
  .hero__copy { width: calc(100% - 8px); margin-left: 8px; }
  .hero h1 { font-size: clamp(44px, 14vw, 65px); line-height: 1.01; }
  .hero__lead { margin-top: 25px; font-size: 15px; line-height: 1.65; }
  .hero__actions { gap: 22px; align-items: flex-start; flex-direction: column; margin-top: 30px; }
  .hero__note { right: -16px; bottom: -120px; width: calc(100% - 30px); max-width: 330px; padding: 17px 20px; }
  .hero__scroll { display: none; }

  .eyebrow { margin-bottom: 18px; font-size: 9px; }
  .section-title { font-size: clamp(39px, 12.5vw, 56px); }

  .intro__grid { gap: 58px; }
  .intro__visual { min-height: 465px; }
  .intro__image--main { inset: 0 8% 13% 0; }
  .intro__image--detail { width: 44%; height: 47%; border-width: 6px; }
  .intro__seal { top: 25px; right: 1%; width: 82px; height: 82px; box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px rgba(198, 146, 73, 0.6); }
  .intro__seal strong { font-size: 21px; }
  .intro__seal span { font-size: 5px; }
  .intro__lede { margin-top: 27px; font-size: 19px; }

  .section-heading,
  .portfolio__top { margin-bottom: 42px; }
  .service-list { grid-template-columns: 1fr; gap: 12px; }
  .service-card a { min-height: 400px; }

  .filter-bar { margin-right: -16px; padding-right: 16px; }
  .portfolio-grid { grid-auto-rows: 300px; grid-template-columns: 1fr; gap: 12px; }
  .portfolio__more { margin-top: 30px; }

  .craft__grid { gap: 48px; }
  .craft__media { padding: 0 0 30px 18px; }
  .craft__media::before { top: 26px; right: 20px; }
  .craft__caption { bottom: 4px; min-width: 190px; }

  .process__heading { margin-bottom: 45px; }
  .process-list li { grid-template-columns: 44px 1fr; gap: 12px; padding: 25px 0; }
  .process-list h3 { font-size: 25px; }
  .process-list p { font-size: 13px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { margin: 0 -4px; }

  .footer__top { grid-template-columns: 1fr; gap: 30px; padding-top: 58px; padding-bottom: 50px; }
  .footer__top > p { grid-row: auto; }
  .footer__contact { justify-self: start; }
  .footer__bottom { gap: 12px; align-items: flex-start; flex-direction: column; }

  .mobile-contact {
    position: fixed;
    z-index: 40;
    right: 0;
    bottom: 0;
    left: 0;
    height: 62px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: var(--white);
    background: var(--ink);
    box-shadow: 0 -10px 30px rgba(13, 21, 18, 0.18);
  }

  .mobile-contact a {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }

  .mobile-contact a:first-child { color: var(--ink); background: var(--gold-light); }

  .social-fab {
    right: 14px;
    bottom: 76px;
    display: flex;
    gap: 7px;
  }

  .social-fab__icon {
    width: 44px;
    height: 44px;
    border-width: 1.5px;
  }

  .social-fab__label {
    display: none;
  }

  .lightbox { padding: 16px; }
  .lightbox__dialog { width: 100%; }
  .lightbox__dialog figure { height: 67vh; }
  .lightbox__close { top: -50px; }
  .consult-modal { padding: 14px; }
  .consult-modal__actions { flex-direction: column; }
}

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