@font-face {
  font-family: Manrope;
  src: url("assets/manrope-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Manrope;
  src: url("assets/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --paper: #faf9f6;
  --ink: #172b43;
  --muted: #50586a;
  --line: #e1dbd1;
  --earth: #953f2c;
  --soft: #f1ede6;
  --dark: #142943;
  --light: #f5c6ae;
  --space: clamp(1.35rem, 5.8vw, 6rem);
  --header-height: 5.15rem;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (forced-colors: none) {
  html { scrollbar-color: #945541 #efe9df; }
  html::-webkit-scrollbar { width: 12px; }
  html::-webkit-scrollbar-track { background: #efe9df; }
  html::-webkit-scrollbar-thumb { background: #945541; border: 2px solid #efe9df; border-radius: 1rem; }
}
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .65; cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a8513a; outline-offset: 4px; }
section[id], #icerik { scroll-margin-top: calc(var(--header-height) + .9rem); }
.wrap { width: min(100% - 2 * var(--space), 75rem); margin-inline: auto; }
.skip-link { position: fixed; top: 0; left: 1rem; z-index: 5; background: white; padding: .6rem 1rem; transform: translateY(-120%); }
.skip-link:focus { transform: translateY(0); }

.header {
  --header-inset: clamp(.85rem, 3vw, 3.15rem);
  --header-limit: 87.5rem;
  position: sticky;
  top: 0;
  z-index: 3;
  margin-bottom: calc(0px - var(--header-height));
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 1px 0 #14243b1a, 0 .2rem .85rem #14243b14;
  transition: background-color .22s ease, color .22s ease, box-shadow .22s ease;
}
.header.is-over-hero {
  --header-inset: var(--space);
  --header-limit: 75rem;
  color: #fff;
  background: transparent;
  box-shadow: none;
}
.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(100% - 2 * var(--header-inset), var(--header-limit));
  min-height: var(--header-height);
  gap: clamp(.65rem, 2.5vw, 2.45rem);
  transition: width .26s ease;
}
.header.is-over-hero .header-inner::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: #ffffff38;
  pointer-events: none;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: .55rem; width: fit-content; text-decoration: none; }
.brand-mark { position: relative; display: block; flex: none; width: 3.25rem; height: 2.75rem; }
.brand-mark img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 113%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}
.header:not(.is-over-hero) .brand-mark img, .footer .brand-mark img { filter: brightness(.58) saturate(1.25); }
.brand-wordmark { display: grid; gap: .1rem; }
.brand strong { font-size: 1.12rem; font-weight: 820; line-height: 1.16; letter-spacing: -.027em; white-space: nowrap; }
.brand small { color: var(--earth); font-size: .72rem; font-weight: 800; line-height: 1.2; letter-spacing: .17em; text-transform: uppercase; }
.header.is-over-hero .brand small { color: #efd097; }
.navigation { display: flex; align-items: center; justify-self: end; gap: clamp(1.2rem, 3vw, 2.65rem); }
.header-actions { grid-column: 3; display: flex; align-items: center; justify-self: end; gap: .5rem; }
.navigation a, .navigation-contact { display: inline-flex; align-items: center; min-height: 2.75rem; padding-block: .5rem; font-size: .91rem; font-weight: 750; line-height: 1.25; text-decoration: none; }
.navigation a:hover, .navigation-contact:hover { text-decoration: underline; text-decoration-color: var(--earth); text-underline-offset: .4em; }
.header.is-over-hero :is(.navigation a, .navigation-contact):hover { text-decoration-color: #ddba70; }
.menu-toggle { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; width: fit-content; padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: .4rem; font-size: .92rem; font-weight: 800; line-height: 1.25; text-decoration: none; transition: background .18s ease, color .18s ease; }
.button-dark { color: #fff; background: var(--dark); }
.button-dark:hover { background: #233e5c; }

h1, h2, h3 { font-weight: 800; }
h1 { font-size: clamp(2.25rem, 4.5vw, 4.15rem); font-weight: 660; letter-spacing: -.045em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4.2vw, 4.15rem); letter-spacing: -.062em; line-height: 1.06; }
h3 { font-size: clamp(1.08rem, 1.6vw, 1.4rem); letter-spacing: -.027em; line-height: 1.28; }

.hero { position: relative; overflow: hidden; isolation: isolate; color: white; background: #14243b; }
.hero-photos, .hero-photos picture, .hero::after { position: absolute; inset: 0; }
.hero-photos { z-index: -2; }
.hero-slide { display: block; opacity: 0; visibility: hidden; transition: opacity .75s ease-in-out; }
.hero-slide.is-current { z-index: 1; opacity: 1; visibility: visible; }
.hero-slide.is-previous { opacity: 1; visibility: visible; }
.hero-photos img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::after {
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, #0c192bd9 0, #0c192b84 4rem, transparent 8rem),
    linear-gradient(0deg, #0c192bef 0, #0c192b99 18%, #0c192b28 40%, transparent 60%);
}
.hero-inner {
  display: grid;
  align-content: end;
  gap: clamp(.78rem, 2.8svh, 1.5rem);
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--header-height) + 1.75rem) clamp(1rem, 3svh, 1.6rem);
}
.hero-copy { max-width: 40rem; }
.hero p { max-width: 29rem; margin-top: .65rem; color: #f3f0ea; font-size: clamp(1rem, 1.4vw, 1.12rem); }
.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: .55rem;
  color: #fff;
  font-size: .94rem;
  font-weight: 750;
  text-decoration-color: #efa688;
  text-underline-offset: .38em;
}
.hero-link:hover { color: #f8c8b1; }
.hero-thumbnails { display: flex; gap: .5rem; }
.hero-thumb {
  position: relative;
  width: clamp(4.35rem, 7vw, 6.25rem);
  aspect-ratio: 25 / 16;
  overflow: hidden;
  padding: 0;
  border: 1px solid #fff6;
  border-radius: .35rem;
  background: #14243b;
}
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-thumb img:first-child { filter: brightness(.52) saturate(.5); }
.hero-thumb .hero-thumb-fill { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); }
.hero-thumb[aria-current="true"] { border-color: #f5e2d1; }
.hero-thumb[aria-current="true"] img:first-child { filter: grayscale(1) brightness(.44); }
.hero-thumb[aria-current="true"] .hero-thumb-fill { clip-path: inset(0); }
.hero-thumbnails.is-playing .hero-thumb[aria-current="true"] .hero-thumb-fill {
  animation: fill-thumbnail 6s linear both;
}
.hero-thumbnails.is-paused .hero-thumb[aria-current="true"] .hero-thumb-fill,
.hero-copy:focus-within + .hero-thumbnails .hero-thumb[aria-current="true"] .hero-thumb-fill {
  animation-play-state: paused;
}
.hero-thumb:not([aria-current]):hover img:first-child { filter: brightness(.85) saturate(.8); }
@keyframes fill-thumbnail {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0); }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.service-ribbon {
  overflow: hidden;
  background: #ebe5dc;
  color: #463d36;
  border-bottom: 1px solid var(--line);
  view-timeline-name: --ribbon-passage;
}
.service-ribbon-track { display: flex; width: max-content; }
.service-ribbon-group {
  display: flex;
  justify-content: space-around;
  min-width: 100vw;
  padding-block: .8rem;
  white-space: nowrap;
  font-size: clamp(1rem, 1.45vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -.025em;
}
.service-ribbon-group span { display: inline-flex; align-items: center; gap: clamp(1.2rem, 3.5vw, 3.5rem); padding-left: clamp(1.2rem, 3.5vw, 3.5rem); }
.service-ribbon-group span::after { content: ""; width: 1.1rem; height: 3px; background: #aa6550; border-radius: 1px; }
@keyframes ribbon-drift { to { transform: translateX(calc(-1 * clamp(12rem, 27vw, 35rem))); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .service-ribbon-track {
      animation: ribbon-drift auto linear both;
      animation-timeline: --ribbon-passage;
    }
  }
}

.section { padding-block: clamp(3.2rem, 6.5vw, 6.25rem); }
.section h2 { font-weight: 650; letter-spacing: -.055em; font-size: clamp(2.15rem, 4.2vw, 3.95rem); text-wrap: balance; }
.services-section { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3.2rem, 6vw, 5rem); }
.services-section > h2 { margin-bottom: 1.65rem; font-size: clamp(1.6rem, 2.4vw, 2.25rem); font-weight: 680; letter-spacing: -.045em; }
.service-gallery { display: grid; grid-template-columns: 1.17fr 1fr; gap: 2rem clamp(2rem, 5vw, 5rem); }
.service-lead { grid-row: span 2; }
.service-gallery img { display: block; width: 100%; object-fit: cover; border-radius: .65rem; }
.service-lead img { aspect-ratio: 1.85; }
.service-lead .service-copy { margin-top: 1.2rem; }
.service-copy h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); font-weight: 680; line-height: 1.18; letter-spacing: -.045em; }
.service-lead h3 { font-size: clamp(1.85rem, 3vw, 2.65rem); }
.service-copy p { color: var(--muted); margin-top: .55rem; max-width: 38rem; }
.service-copy a { display: inline-flex; align-items: center; gap: .7rem; min-height: 2.75rem; font-size: .91rem; color: var(--earth); font-weight: 750; text-underline-offset: .32em; }
.service-copy a::after { content: "↗" / ""; text-decoration: none; }
.service-side { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1fr); align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.service-side img { height: 100%; min-height: 10rem; }
.service-side + .service-side { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.service-side p { font-size: .96rem; }
.room-study {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-areas: "intro drawing" "notes drawing";
  align-content: center;
  gap: 1.35rem clamp(2rem, 5vw, 5rem);
  padding: clamp(1.4rem, 4.5vw, 4rem);
  margin-bottom: clamp(3rem, 5.5vw, 5rem);
  color: #fcf6ec;
  background: var(--dark);
  border-radius: 1.5rem;
}
.room-intro { grid-area: intro; align-self: end; }
.room-intro h2 { max-width: 13em; font-size: clamp(1.8rem, 3.2vw, 3rem); font-weight: 650; }
.room-intro p, .room-notes p { max-width: 41ch; margin-top: .7rem; color: #e3e6eb; }
.room-notes { grid-area: notes; border-top: 1px solid #ffffff3d; padding-top: 1rem; }
.room-notes h3 { color: #f5c8a9; }
.room-notes p { margin-top: .25rem; }
.room-notes > div { display: none; }
.room-study:has([value="salon"]:checked) #salon-note,
.room-study:has([value="mutfak"]:checked) #mutfak-note,
.room-study:has([value="banyo"]:checked) #banyo-note,
.room-study:has([value="yatak"]:checked) #yatak-note { display: block; }
.room-drawing {
  grid-area: drawing;
  align-self: center;
  display: grid;
  grid-template: "living kitchen" 1.3fr "living bath" 1fr "bed bath" 1fr / 1.25fr 1fr;
  min-width: 0;
  height: clamp(17rem, 23vw, 21rem);
  margin: 0;
  padding: 4px;
  gap: 3px;
  border: 1px solid #e3d4bd;
  background: #e3d4bd;
  box-shadow: 0 0 0 5px var(--dark), 0 0 0 6px #ffffff38;
}
.room {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: .65rem;
  cursor: pointer;
  background-color: #253d52;
  background-image: linear-gradient(#ffffff0a 1px, transparent 1px), linear-gradient(90deg, #ffffff0a 1px, transparent 1px);
  background-size: 14px 14px;
}
.room input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.room:has(:checked) { background-color: #884937; }
.room:hover { box-shadow: inset 0 0 0 2px #e3c5ac; }
.room:has(:focus-visible) { outline: 3px solid white; outline-offset: -5px; }
.room span { width: fit-content; padding: .1rem .38rem; color: white; background: #192c3e; font-size: .87rem; font-weight: 700; line-height: 1.45; }
.room:has(:checked) span { background: #673628; }
.room::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 9%;
  right: 6%;
  border: 1px solid #eadbc1aa;
}
.room-living { grid-area: living; }
.room-living::before { width: 24%; height: 63%; border-radius: 4px; background: repeating-linear-gradient(0deg, transparent 0 31%, #eadbc188 32% 33%); box-shadow: inset -5px 0 #eadbc133; }
.room-kitchen { grid-area: kitchen; }
.room-kitchen::before { width: 82%; height: 18%; background: repeating-linear-gradient(90deg, transparent 0 24%, #eadbc188 25%); }
.room-bath { grid-area: bath; }
.room-bath::before { width: 36%; height: 56%; border-radius: 35%; box-shadow: 0 0 0 3px #eadbc122; }
.room-bedroom { grid-area: bed; }
.room-bedroom::before { width: 35%; height: 68%; background: linear-gradient(0deg, transparent 70%, #eadbc177 71% 74%, transparent 75%); }
@media (max-width: 720px) {
  .room-study { grid-template-columns: 1fr; grid-template-areas: "intro" "drawing" "notes"; }
  .room-drawing { height: clamp(15rem, 65vw, 19rem); }
}
.visit-guide { padding-block: 0 clamp(3.2rem, 6vw, 5rem); }
.guide-intro { display: flex; flex-wrap: wrap; gap: .35rem 1.6rem; align-items: baseline; margin-bottom: 1.25rem; }
.guide-intro p { color: var(--muted); }
.guide-cards { display: grid; grid-template-columns: 1.05fr 1fr; gap: .85rem; }
.guide-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 2.4rem);
  border-radius: 1.2rem;
}
.guide-card h3 { font-size: clamp(1.25rem, 1.85vw, 1.75rem); letter-spacing: -.035em; font-weight: 650; }
.guide-card p { max-width: 50ch; margin-top: .55rem; line-height: 1.55; }
.guide-house { grid-row: span 2; align-items: end; min-height: 21rem; color: white; background: var(--dark); }
.guide-house img, .guide-house::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.guide-house img { object-fit: cover; object-position: 50% 42%; }
.guide-house::after { content: ""; background: linear-gradient(0deg, #111b25fa, #111b25ce 40%, #111b2520 90%); }
.guide-house h3 { font-size: clamp(1.75rem, 2.5vw, 2.35rem); }
.guide-scope { gap: 1.35rem; background: #efe7db; }
.guide-samples {
  width: 2.6rem;
  height: 3.5rem;
  flex: none;
  margin-inline: auto .6rem;
  transform: rotate(10deg);
  border-radius: .25rem;
  border: 1px solid #fff9;
  background: #b8684c;
  box-shadow: -.32rem .26rem 0 #dcbfa3, -.65rem .55rem 0 #ac977f;
}
.guide-dates { color: #fff8f2; background: #824534; }
.guide-dates p { color: #fff1e6; }
.reference-layout {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.55rem, 3.4vw, 3.1rem) clamp(1.25rem, 3.8vw, 3.5rem);
  border-radius: clamp(1.25rem, 2.5vw, 2.25rem);
  color: #fffaf5;
  background: linear-gradient(110deg, #803d30, #904838 70%, #9a503d);
}
.reference-layout::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto auto;
  width: min(45%, 30rem);
  height: 72%;
  pointer-events: none;
  /* Offset the vertical joints in alternate courses. */
  background-image:
    repeating-linear-gradient(0deg, transparent 0 23px, #f4bf9c 23px 24px),
    conic-gradient(at 1px 24px, transparent 0 75%, #f4bf9c 0),
    conic-gradient(at 1px 24px, transparent 0 75%, #f4bf9c 0);
  background-size: 100% 48px, 72px 48px, 72px 48px;
  background-position: 0 0, 0 0, 36px 24px;
  mask-image: radial-gradient(ellipse at top right, #000 5%, transparent 73%);
  opacity: .28;
}
.reference-intro { display: flex; gap: .75rem 2rem; align-items: baseline; flex-wrap: wrap; }
.reference-intro h2, .process-content h2, .guide-intro h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.65rem);
  font-weight: 650;
  letter-spacing: -.045em;
}
.reference-intro p { color: #fae7da; }
.process-content p { color: var(--muted); }
.references {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  padding: 1.35rem 0 0;
  margin: 1.2rem 0 0;
  border-top: 1px solid #ffffff50;
}
.references li + li { border-inline-start: 1px solid #ffffff50; padding-inline-start: clamp(1rem, 2vw, 2rem); }
.references span { display: block; color: #ffdfcb; font-size: .83rem; margin-bottom: .25rem; }
.references h3 { font-size: clamp(1.05rem, 1.5vw, 1.4rem); font-weight: 700; }
.process-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; gap: clamp(2rem, 6vw, 6rem); }
.process-photo { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: .75rem; }
.process-content > p { margin-top: .8rem; max-width: 34rem; }
.process { list-style: none; padding: 0; margin: 1.45rem 0 0; counter-reset: phase; }
.process li { position: relative; padding: 0 0 1.2rem 2.9rem; counter-increment: phase; }
.process li:last-child { padding-bottom: 0; }
.process li:not(:last-child)::after { content: ""; position: absolute; top: 2rem; bottom: 0; left: 1rem; border-left: 1px solid var(--line); }
.process li::before {
  content: counter(phase, decimal-leading-zero) / "";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--earth);
  font-size: .83rem;
  font-weight: 750;
}
.process h3 { font-size: 1.16rem; line-height: 2rem; }
.process li p { max-width: 36rem; margin-top: .16rem; font-size: .96rem; }

.text-link { display: inline-block; width: fit-content; color: var(--earth); font-size: .92rem; font-weight: 800; text-underline-offset: .27em; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--ink); }

.navigation-contact[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--earth); text-underline-offset: .4em; }
.contact-page { padding-top: var(--header-height); }
.contact-cover { position: relative; isolation: isolate; overflow: hidden; background: #392e28; color: white; }
.contact-cover img, .contact-cover::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.contact-cover img { object-fit: cover; object-position: center 53%; }
.contact-cover::after { content: ""; background: linear-gradient(90deg, #1f1b18ed 0%, #30251ca8 42%, #271e1729 100%); }
.contact-cover .wrap { display: grid; align-content: space-between; min-height: clamp(12rem, 19vw, 18rem); padding-block: 1.4rem clamp(1.8rem, 3vw, 3rem); }
.breadcrumbs { display: flex; align-items: center; gap: .7rem; font-size: .86rem; }
.breadcrumbs a { text-underline-offset: .24em; }
.contact-cover h1 { font-size: clamp(3.6rem, 7vw, 6.1rem); }
.home-contact {
  position: relative;
  isolation: isolate;
  background: var(--soft);
  border-top: 1px solid var(--line);
}
.panorama-credit { display: block; padding: 0 1rem .55rem; text-align: end; color: var(--ink); font-size: .72rem; }
.panorama-credit a { text-underline-offset: .2em; }
.home-contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: url("assets/sivas-meydan.webp") center 67% / cover no-repeat;
  filter: grayscale(1);
  opacity: .23;
  mask-image: linear-gradient(to bottom, #0009, #000);
}
.contact-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: start; gap: clamp(2.5rem, 7vw, 7rem); padding-block: clamp(2.5rem, 5vw, 5rem); }
.contact-heading > h2 { max-width: 10em; font-size: clamp(2.3rem, 3.7vw, 3.8rem); font-weight: 650; line-height: 1.1; }
.contact-heading > p { max-width: 23rem; color: var(--muted); margin-top: .9rem; }
.contact-region { display: flex; gap: 1rem; align-items: flex-start; margin-top: clamp(1.65rem, 3vw, 3rem); padding-top: 1.25rem; border-top: 1px solid var(--line); max-width: 24rem; }
.region-pin { position: relative; flex: none; width: 1.13rem; height: 1.13rem; border: 2px solid var(--earth); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); margin: .25rem .15rem 0; }
.region-pin::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--earth); }
.contact-region h3 { font-size: .85rem; color: var(--muted); font-weight: 650; }
.contact-region p { font-size: 1.35rem; font-weight: 700; letter-spacing: -.035em; }
.contact-region a { margin-top: .35rem; }
.contact-card { min-width: 0; padding: clamp(1.2rem, 2.6vw, 2.5rem); background: #fff; border: 1px solid var(--line); border-radius: .85rem; }
.contact-card h2 { margin-bottom: 1.4rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 700; letter-spacing: -.04em; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .9rem; }
.form-actions .form-note { flex: 1 1 13rem; max-width: 24rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.field, .summary { display: grid; gap: .33rem; margin-bottom: .9rem; min-width: 0; }
.field label, .summary label { font-size: .9rem; font-weight: 800; }
.field input, .field select, .field textarea, .summary textarea { width: 100%; min-width: 0; min-height: 2.85rem; padding: .58rem .68rem; border: 1px solid #aaa9a1; border-radius: .45rem; background-color: #fdfcfb; color: var(--ink); }
.field select { appearance: none; padding-right: 1.6rem; background-image: linear-gradient(45deg, transparent 50%, #333 50%), linear-gradient(135deg, #333 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea, .summary textarea { resize: vertical; }
.form-note, .form-status { font-size: .875rem; color: var(--muted); }
.form-note { margin: 0; }
.form-status:not(:empty) { margin-top: .65rem; }
.summary { margin: 1rem 0 0; }
.form-actions .button { background: var(--earth); padding-inline: 1.25rem; }
.form-actions .button:hover { background: #743321; }
.contact-options { margin-top: 1.15rem; }
.contact-options h2 { margin-bottom: .45rem; font-size: 1.12rem; letter-spacing: -.025em; }
.contact-links { display: flex; flex-wrap: wrap; gap: .45rem 1.15rem; }

.footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr .85fr 1fr;
  align-items: start;
  gap: 1.7rem clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(2.4rem, 5vw, 4.25rem);
}
.footer .brand-mark { width: 3.15rem; height: 2.65rem; }
.footer-company p, .footer-contact p { margin-top: .55rem; color: var(--muted); }
.footer-main h2 {
  margin-bottom: .55rem;
  font-size: .96rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.footer-nav ul { display: grid; gap: .28rem; margin: 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-block; padding-block: .17rem; color: var(--muted); font-size: .94rem; text-decoration: none; }
.footer-nav a:hover { color: var(--earth); text-decoration: underline; text-underline-offset: .25em; }
.footer-contact .text-link { margin-top: .45rem; }
.footer-tail {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: .4rem 1.5rem;
  padding-block: 1rem 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}

@media (max-width: 880px) {
  .service-gallery { grid-template-columns: 1fr 1fr; }
  .service-side { grid-template-columns: minmax(5rem,.5fr) 1fr; gap: 1rem; }
  .contact-grid { grid-template-columns: .75fr 1.25fr; gap: 1.5rem; }
}

@media (max-width: 720px) {
  :root { --header-height: 4.45rem; }
  .brand-mark { width: 2.75rem; height: 2.4rem; }
  .brand strong { font-size: 1rem; }
  .brand small { font-size: .65rem; }
  .menu-toggle { display: grid; place-items: center; width: 2.75rem; min-height: 2.75rem; padding: 0; border: 0; background: transparent; color: inherit; }
  .menu-toggle span { position: relative; width: .95rem; height: 1rem; }
  .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; inset: .32rem 0 auto; height: 1.5px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle span::after { top: .66rem; }
  .menu-toggle[aria-expanded="true"] span::before { transform: translateY(.17rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { transform: translateY(-.17rem) rotate(-45deg); }
  .navigation { display: none; position: absolute; top: 100%; inset-inline: calc(0px - var(--header-inset)); padding: .35rem var(--header-inset) .75rem; justify-self: stretch; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
  .navigation.is-open, .header-inner:has(.menu-toggle[hidden]) .navigation { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .navigation a { padding-block: .75rem; }
  .navigation a + a { border-top: 1px solid var(--line); }
  .guide-cards, .process-section, .service-gallery, .contact-grid { grid-template-columns: 1fr; }
  .guide-house { grid-row: auto; min-height: 17rem; }
  .service-lead { grid-row: auto; }
  .service-side { grid-template-columns: minmax(5rem, .56fr) 1fr; }
  .home-contact::before {
    bottom: auto;
    height: min(26rem, 100%);
    background-position: 23% bottom;
    mask-image: linear-gradient(to bottom, #000b 58%, transparent);
  }
  .reference-intro { display: grid; }
  .references { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.35rem; }
  .references li:nth-child(odd) { border: 0; padding-inline: 0 .7rem; }
  .process-photo { height: clamp(11rem, 46vw, 17rem); object-position: 50% 44%; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-company { grid-column: 1 / -1; }

}

@media (max-width: 500px) {
  .hero-copy { max-width: 22rem; }
  .hero-thumbnails { gap: .35rem; }
  .hero-thumb { width: clamp(2.8rem, 14.5vw, 4rem); min-height: 2.75rem; }
  .hero-photos img { object-position: 48% 42%; }
  .hero::after {
    background:
      linear-gradient(180deg, #0c192be0, #0c192b80 3.6rem, transparent 7rem),
      linear-gradient(0deg, #0c192bf5, #0c192b99 24%, #0c192b20 49%, transparent 62%);
  }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
