:root {
  --ink: #111a22;
  --ink-soft: #1a2732;
  --ink-muted: #42515c;
  --paper: #f7f4ee;
  --paper-deep: #eee8de;
  --white: #ffffff;
  --bronze: #a47b48;
  --bronze-light: #d6bd94;
  --bronze-dark: #74522d;
  --sage: #6f7b70;
  --line: #d8d1c6;
  --line-dark: rgba(255, 255, 255, 0.18);
  --danger: #a72b2b;
  --success: #276443;
  --focus: #1478d4;
  --shadow-sm: 0 10px 28px rgba(17, 26, 34, 0.08);
  --shadow-lg: 0 28px 70px rgba(10, 18, 25, 0.2);
  --radius-sm: 4px;
  --radius: 10px;
  --container: 1240px;
  --header-height: 88px;
  --font-body: "Heebo", "Noto Sans Hebrew", Arial, sans-serif;
  --font-display: "Noto Serif Hebrew", "David Libre", David, serif;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea {
  font: inherit;
}

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

a {
  color: var(--bronze-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #513617;
}

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

.hero :focus-visible,
.inner-hero :focus-visible,
.projects-preview :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible,
.mobile-quick-contact :focus-visible {
  outline-color: var(--white);
}

::selection {
  color: var(--white);
  background: var(--bronze-dark);
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.55rem, 5vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.6rem);
}

h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--focus);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  inset-block-start: 0;
  min-height: var(--header-height);
  color: var(--ink);
  background: rgba(247, 244, 238, 0.97);
  border-block-end: 1px solid rgba(17, 26, 34, 0.13);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-inline-end: 0.7rem;
}

.brand-copy {
  display: grid;
  line-height: 1.12;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.brand-copy span {
  margin-top: 0.32rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.72rem, 1.25vw, 1.35rem);
  margin-inline: auto;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0.35rem;
  height: 2px;
  content: "";
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 50px;
  padding: 0.72rem 1.35rem;
  color: var(--white);
  background: var(--bronze-dark);
  border: 2px solid var(--bronze-dark);
  border-radius: var(--radius-sm);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  color: var(--white);
  background: #543817;
  border-color: #543817;
  transform: translateY(-2px);
}

.button-small {
  min-width: 126px;
  min-height: 44px;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(164, 123, 72, 0.09), transparent 42%),
    var(--ink);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to left, black, transparent 68%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  min-height: min(800px, calc(100svh - var(--header-height)));
  gap: clamp(3rem, 6vw, 6.5rem);
  padding-block: clamp(4.5rem, 8vw, 8rem);
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  color: var(--bronze-dark);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  content: "";
  background: currentColor;
}

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

.hero h1 {
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 2rem;
  color: #e0e5e7;
  font-size: clamp(1.08rem, 1.4vw, 1.3rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero .button {
  color: var(--ink);
  background: var(--bronze-light);
  border-color: var(--bronze-light);
}

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

.button-ghost {
  color: var(--white) !important;
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

.button-ghost:hover {
  color: var(--ink) !important;
  background: var(--white) !important;
  border-color: var(--white) !important;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 3rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
}

.hero-facts div {
  min-width: 0;
}

.hero-facts dt {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
}

.hero-facts dd {
  margin-bottom: 0;
  color: #bac4ca;
  font-size: 0.88rem;
  line-height: 1.5;
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  min-width: 0;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

.hero-photo-team {
  aspect-ratio: 4 / 3;
}

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

.hero-photo-team img {
  object-position: 50% 50%;
}

.hero-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  pointer-events: none;
  content: "";
  background: linear-gradient(transparent, rgba(10, 17, 23, 0.88));
}

.hero-photo figcaption {
  position: absolute;
  z-index: 1;
  inset-inline: 1rem;
  inset-block-end: 0.8rem;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
}

.heritage-strip {
  background: var(--white);
  border-block-end: 1px solid var(--line);
}

.heritage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.heritage-grid p {
  display: grid;
  align-content: center;
  min-height: 126px;
  margin: 0;
  padding: 1.4rem clamp(1rem, 3vw, 2.5rem);
  border-inline-start: 1px solid var(--line);
}

.heritage-grid p:first-child {
  border-inline-start: 0;
}

.heritage-grid strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.heritage-grid span {
  color: var(--ink-muted);
}

.section {
  padding-block: clamp(5rem, 8vw, 8rem);
}

.section-heading {
  max-width: 600px;
}

.section-heading h2 {
  margin-bottom: 1.25rem;
}

.section-heading > p:not(.eyebrow),
.section-heading-wide > p {
  color: var(--ink-muted);
  font-size: 1.08rem;
}

.section-heading-wide {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  align-items: end;
  max-width: none;
  gap: 3rem;
  margin-bottom: 3.4rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}

.section-heading-wide h2 {
  margin-bottom: 0;
}

.section-heading-wide > p {
  margin-bottom: 0.15rem;
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.sticky-heading {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.about-content {
  max-width: 780px;
}

.large-copy {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.65;
}

.about-content > p:not(.large-copy) {
  color: var(--ink-muted);
  font-size: 1.06rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 2.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.principles li {
  display: grid;
  align-content: start;
  min-height: 150px;
  padding: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.principles li:nth-child(odd) {
  border-inline-end: 1px solid var(--line);
}

.principles strong {
  margin-bottom: 0.45rem;
  color: var(--bronze-dark);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.principles span {
  color: var(--ink-muted);
}

.practice {
  background: var(--white);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}

.practice-card {
  position: relative;
  min-height: 300px;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  background: var(--white);
}

.card-number {
  display: block;
  margin-bottom: 3rem;
  color: var(--bronze-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.practice-card h3 {
  max-width: 260px;
  margin-bottom: 1rem;
}

.practice-card p {
  color: var(--ink-muted);
}

.projects-preview {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink-soft);
}

.projects-preview::after {
  position: absolute;
  width: 420px;
  height: 420px;
  inset-inline-end: -180px;
  inset-block-end: -220px;
  content: "";
  border: 1px solid rgba(214, 189, 148, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(214, 189, 148, 0.035), 0 0 0 140px rgba(214, 189, 148, 0.025);
}

.projects-preview .container {
  position: relative;
  z-index: 1;
}

.light-heading {
  border-color: var(--line-dark);
}

.section-heading.light-heading > p:not(.eyebrow),
.section-heading-wide.light-heading > p:not(.eyebrow) {
  color: #c5cdd1;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2.1rem);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-dark);
}

.project-kind {
  margin-bottom: 1.15rem;
  color: var(--bronze-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.project-card h3 {
  margin-bottom: 1rem;
}

.project-card > p:not(.project-kind):not(.status-label) {
  color: #d1d8dc;
}

.status-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1rem;
  color: #f0e0c6;
  font-size: 0.86rem;
  font-weight: 700;
}

.status-label::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  content: "";
  background: var(--bronze-light);
  border-radius: 50%;
}

.status-complete::before {
  background: #86b89b;
}

.section-action {
  margin-top: 2.3rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.55rem;
  color: var(--bronze-dark);
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.text-link-light {
  color: var(--bronze-light);
}

.text-link-light:hover {
  color: var(--white);
}

.team {
  background: var(--paper-deep);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.team-card {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.portrait {
  position: relative;
  align-self: start;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #d9d4cb;
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.team-copy {
  padding: clamp(1.6rem, 3vw, 2.5rem);
}

.role {
  margin-bottom: 0.7rem;
  color: var(--bronze-dark);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}

.team-copy h3 {
  margin-bottom: 1.3rem;
}

.team-copy p:not(.role) {
  color: var(--ink-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.testimonials-preview {
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  margin: 0;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--paper);
  border-block-start: 3px solid var(--bronze);
}

.testimonial-card blockquote {
  position: relative;
  margin: 0;
  padding-top: 2.7rem;
}

.testimonial-card blockquote::before {
  position: absolute;
  inset-block-start: -0.3rem;
  inset-inline-start: 0;
  content: "״";
  color: var(--bronze-light);
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
}

.testimonial-card blockquote p {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.16rem;
  line-height: 1.75;
}

.testimonial-card figcaption {
  display: grid;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.testimonial-card cite {
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
}

.testimonial-card figcaption span {
  color: var(--ink-muted);
  font-size: 0.88rem;
}

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

.process-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.process-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-list > li > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: var(--ink-soft);
  border-radius: 50%;
  font-weight: 700;
}

.process-list h3 {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

.process-list p {
  color: var(--ink-muted);
}

.cta-band {
  color: var(--white);
  background: var(--bronze-dark);
}

.cta-band .eyebrow-light {
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  min-height: 310px;
  padding-block: 3.5rem;
}

.cta-inner > div {
  max-width: 760px;
}

.cta-inner h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 3.2vw, 3.3rem);
}

.cta-inner p:not(.eyebrow) {
  color: #f0e9df;
  font-size: 1.06rem;
}

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

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

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.contact-details h2 {
  margin-bottom: 1rem;
}

.contact-details > p:not(.eyebrow) {
  color: var(--ink-muted);
}

.contact-list {
  display: grid;
  gap: 0;
  margin-top: 2.5rem;
  font-style: normal;
  border-top: 1px solid var(--line);
}

.contact-list > a,
.contact-static {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  min-height: 82px;
  gap: 1rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-list > a:hover strong {
  color: var(--bronze-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--bronze-dark);
  background: var(--paper-deep);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-list span:not(.contact-icon) {
  display: grid;
}

.contact-list small {
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.contact-list strong {
  overflow-wrap: anywhere;
  font-size: 1rem;
}

.contact-form {
  padding: clamp(1.5rem, 4vw, 3.2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  margin-bottom: 0.55rem;
  font-size: 1.7rem;
}

.form-intro {
  margin-bottom: 1.7rem;
  color: var(--ink-muted);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  align-content: start;
  margin-bottom: 1rem;
}

.field label {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #817a70;
  border-radius: var(--radius-sm);
}

input {
  min-height: 48px;
  padding: 0.65rem 0.8rem;
}

textarea {
  min-height: 145px;
  padding: 0.8rem;
  resize: vertical;
}

input:hover,
textarea:hover {
  border-color: var(--ink);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border: 2px solid var(--danger);
}

.checkbox-field {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
  margin-top: 0.3rem;
}

.checkbox-field input {
  width: 24px;
  min-height: 24px;
  height: 24px;
  margin: 0.2rem 0 0;
}

.checkbox-field label {
  min-height: 44px;
  line-height: 1.55;
}

.field-error {
  min-height: 1.45rem;
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 600;
}

.form-status {
  min-height: 0;
  margin-bottom: 0;
  color: var(--success);
  font-weight: 700;
}

.form-status:not(:empty) {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  background: #e7f3eb;
  border-inline-start: 4px solid var(--success);
}

.form-status.is-error {
  color: #7e1d1d;
  background: #fbeaea;
  border-color: var(--danger);
}

.form-submit {
  width: 100%;
  margin-top: 0.8rem;
}

.required-note {
  margin-top: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.site-footer {
  padding-block: 4.5rem 2rem;
  color: #d8dfe3;
  background: #0a1117;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.55fr 0.7fr 0.9fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-brand {
  display: grid;
  align-content: start;
}

.footer-brand strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.65rem;
}

.footer-brand > span {
  color: var(--bronze-light);
  font-size: 0.9rem;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 1rem;
  color: #aeb9bf;
}

.site-footer nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #d8dfe3;
  width: fit-content;
}

.site-footer a:hover,
.site-footer a[aria-current="page"] {
  color: var(--white);
}

.footer-contact span {
  color: #aeb9bf;
  line-height: 1.55;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.6rem;
  color: #9ba7ad;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
}

.footer-bottom p:first-child {
  max-width: 760px;
}

.mobile-quick-contact {
  display: none;
}

/* Inner pages */
.inner-hero {
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(164, 123, 72, 0.13), transparent 55%),
    var(--ink);
}

.inner-hero-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  min-height: 430px;
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.inner-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.inner-hero-grid > p {
  margin-bottom: 0.6rem;
  color: #d3dade;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.85;
}

.project-visuals {
  padding-block: clamp(2rem, 4vw, 3.5rem);
  background: var(--paper-deep);
  border-block-end: 1px solid var(--line);
}

.project-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.65fr) minmax(0, 0.72fr);
  gap: 0.85rem;
  min-height: clamp(330px, 38vw, 540px);
}

.project-visual {
  position: relative;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  background: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.04);
  transition: transform 500ms ease;
}

.project-visual-wide img {
  object-position: 50% 58%;
}

.project-visual-tall:first-child img {
  object-position: 58% 40%;
}

.project-visual-tall:last-child img {
  object-position: 50% 45%;
}

.project-visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  pointer-events: none;
  content: "";
  background: linear-gradient(transparent, rgba(10, 17, 23, 0.9));
}

.project-visual figcaption {
  position: absolute;
  z-index: 1;
  inset-inline: clamp(1rem, 2vw, 1.5rem);
  inset-block-end: clamp(0.9rem, 2vw, 1.35rem);
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 600;
}

.project-visual figcaption span {
  display: block;
  margin-top: 0.18rem;
  color: #d6dde1;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
}

.project-visual-credits {
  margin: 0.9rem 0 0;
  color: var(--ink-muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.project-visual-credits a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

@media (hover: hover) {
  .project-visual:hover img {
    transform: scale(1.025);
  }
}

.catalog-heading {
  max-width: 780px;
  margin-bottom: 3rem;
}

.catalog-heading h2 {
  margin-bottom: 1rem;
}

.catalog-heading > p:not(.eyebrow) {
  color: var(--ink-muted);
  font-size: 1.08rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.catalog-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
}

.catalog-card-featured {
  border-block-start: 3px solid var(--bronze);
  box-shadow: var(--shadow-sm);
}

.catalog-card .project-kind {
  color: var(--bronze-dark);
}

.catalog-card h3 {
  margin-bottom: 0.85rem;
}

.catalog-card > p:not(.project-kind):not(.status-label) {
  color: var(--ink-muted);
}

.catalog-card .status-label {
  color: var(--bronze-dark);
}

.catalog-card .status-complete {
  color: var(--success);
}

.project-catalog-alt {
  background: var(--paper-deep);
}

.catalog-note {
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.62);
  border-inline-start: 4px solid var(--bronze);
  font-size: 0.92rem;
}

.recommendations-page {
  background: var(--paper);
}

.recommendations-list {
  display: grid;
  gap: 1.25rem;
}

.recommendation-full {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(1.6rem, 4vw, 3.5rem);
  background: var(--white);
  border: 1px solid var(--line);
}

.recommendation-full header {
  padding-inline-end: 1.6rem;
  border-inline-end: 1px solid var(--line);
}

.recommendation-full header .project-kind {
  color: var(--bronze-dark);
}

.recommendation-full h3 {
  font-size: 1.8rem;
}

.recommendation-full blockquote {
  position: relative;
  margin: 0;
  padding-top: 2rem;
}

.recommendation-full blockquote::before {
  position: absolute;
  inset-block-start: -1.2rem;
  inset-inline-start: 0;
  content: "״";
  color: var(--bronze-light);
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
}

.recommendation-full blockquote p {
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.recommendation-full blockquote p:first-of-type {
  color: var(--ink);
  font-size: 1.08rem;
}

.recommendation-attribution {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
  font-style: normal;
}

.recommendation-attribution strong {
  color: var(--ink);
  font-size: 1rem;
}

.recommendation-attribution span {
  font-size: 0.92rem;
}

/* Legal pages */
.legal-page {
  min-height: 70vh;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: var(--paper);
}

.page-header {
  max-width: 900px;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin-top: 3rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.legal-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}

.legal-content p,
.legal-content li {
  color: var(--ink-muted);
}

.legal-content ul,
.legal-content ol {
  padding-inline-start: 1.35rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.notice {
  padding: 1.2rem 1.35rem;
  color: var(--ink) !important;
  background: var(--white);
  border-inline-start: 4px solid var(--bronze);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 70em) {
  :root {
    --header-height: 78px;
  }

  .header-cta {
    margin-inline-start: auto;
  }

  .menu-toggle {
    display: inline-flex;
    order: 4;
  }

  .primary-nav {
    position: fixed;
    z-index: 90;
    inset: var(--header-height) 0 auto;
    display: none;
    max-height: calc(100svh - var(--header-height));
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    padding: 0.75rem max(1.25rem, calc((100vw - var(--container)) / 2));
    background: var(--paper);
    border-block-end: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    min-height: 52px;
    padding-inline: 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    gap: 3rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  }

  .portrait img {
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: 1.1fr 0.6fr 0.8fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 56.25em) {
  .hero-grid,
  .inner-hero-grid,
  .about-grid,
  .process-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    gap: 3.5rem;
  }

  .hero-gallery {
    max-width: 700px;
  }

  .project-visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
  }

  .project-visual {
    min-height: 300px;
  }

  .project-visual-wide {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 360px;
  }

  .sticky-heading {
    position: static;
  }

  .section-heading-wide {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .practice-grid,
  .project-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .team-card {
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  }

  .portrait img {
    min-height: 0;
  }

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

  .testimonial-card {
    min-height: 280px;
  }

  .inner-hero-grid {
    align-items: start;
    gap: 1.8rem;
    min-height: auto;
  }

  .recommendation-full {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .recommendation-full header {
    padding: 0 0 1.2rem;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 43.75em) {
  :root {
    --header-height: 72px;
  }

  body {
    padding-bottom: 64px;
  }

  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .site-header,
  .header-inner {
    min-height: var(--header-height);
  }

  .brand img {
    width: 44px;
    height: 44px;
    margin-inline-end: 0.5rem;
  }

  .brand-copy strong {
    font-size: 1.05rem;
  }

  .brand-copy span {
    font-size: 0.68rem;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    margin-inline-start: auto;
  }

  .hero-grid {
    padding-block: 3.5rem 4rem;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 2.2rem;
  }

  .hero-gallery {
    grid-template-columns: 1fr;
  }

  .project-visual-grid {
    grid-template-columns: 1fr;
  }

  .project-visual,
  .project-visual-wide {
    grid-column: auto;
    min-height: 250px;
    aspect-ratio: 4 / 3;
  }

  .hero-photo figcaption {
    inset-inline: 0.65rem;
    inset-block-end: 0.55rem;
    font-size: 0.68rem;
  }

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

  .heritage-grid p,
  .heritage-grid p:first-child {
    min-height: 100px;
    border-inline-start: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding-block: 4.2rem;
  }

  .section-heading-wide {
    margin-bottom: 2.2rem;
  }

  .principles,
  .practice-grid,
  .project-grid,
  .catalog-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .principles li:nth-child(odd) {
    border-inline-end: 0;
  }

  .practice-card {
    min-height: 250px;
  }

  .card-number {
    margin-bottom: 1.8rem;
  }

  .project-card {
    min-height: 260px;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .portrait {
    aspect-ratio: 4 / 5;
  }

  .portrait img {
    min-height: 0;
  }

  .cta-inner {
    align-items: stretch;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
  }

  .cta-inner .button {
    align-self: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem 1rem;
  }

  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
  }

  .mobile-quick-contact {
    position: fixed;
    z-index: 95;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 64px;
    background: var(--ink);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
  }

  .mobile-quick-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 64px;
    padding: 0.6rem;
    color: var(--white);
    border-inline-end: 1px solid var(--line-dark);
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-quick-contact a:last-child {
    border-inline-end: 0;
  }
}

@media (max-width: 26.25em) {
  .brand-copy span {
    display: none;
  }

  .hero-gallery {
    grid-template-columns: 1fr;
  }

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

  .site-footer nav {
    grid-column: 1;
  }
}

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

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

@media (forced-colors: active) {
  .button,
  .contact-icon,
  .process-list > li > span,
  .menu-toggle {
    border: 2px solid ButtonText;
  }

  .status-label::before,
  .eyebrow::before {
    background: currentColor;
  }

  .hero-photo,
  .team-card,
  .project-card,
  .catalog-card,
  .testimonial-card,
  .recommendation-full {
    border: 1px solid CanvasText;
  }
}
