@font-face {
  font-family: "Oswald";
  src: url("fonts/Oswald-Variable.woff") format("woff");
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --background: #ffffff;
  --surface: #ffffff;
  --ink: #071a33;
  --muted: #4d5b68;
  --line: #dbe7f3;
  --accent: #12325a;
  --accent-dark: #071a33;
  --accent-mid: #2f5f93;
  --gold: #c89b3c;
  --soft: #eef6ff;
  --blue-tint: #f7fbff;
  --shadow: 0 18px 42px rgba(7, 26, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand,
.site-nav,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 500;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-mid));
  border-radius: 6px;
  font-size: 0.8rem;
  box-shadow: 0 8px 18px rgba(7, 26, 51, 0.18);
}

.site-nav {
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 500;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr);
  gap: clamp(24px, 6vw, 70px);
  align-items: end;
  min-height: 78vh;
  padding: clamp(58px, 9vw, 110px) clamp(18px, 5vw, 64px);
  background:
    radial-gradient(circle at 82% 20%, rgba(47, 95, 147, 0.22), transparent 32%),
    linear-gradient(145deg, #ffffff 0%, var(--blue-tint) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -15%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 25% 45%, rgba(47, 95, 147, 0.22), transparent 45%),
    radial-gradient(ellipse at 65% 65%, rgba(200, 155, 60, 0.14), transparent 40%);
  animation: hero-light 8s ease-in-out infinite alternate;
}

@keyframes hero-light {
  from { transform: translate3d(-8%, 3%, 0) scale(1); }
  to { transform: translate3d(8%, -5%, 0) scale(1.12); }
}

.hero-architecture {
  position: absolute;
  top: 0;
  right: -1%;
  width: min(55%, 780px);
  height: auto;
  z-index: -1;
  pointer-events: none;
  color: var(--accent-mid);
}

.architecture-guides { stroke: currentColor; stroke-width: 1; opacity: 0.13; }
.architecture-drawing { stroke: currentColor; stroke-width: 2; }
.architecture-line { stroke-dasharray: 100; stroke-dashoffset: 100; animation: architecture-draw 12s ease-in-out infinite; }
.architecture-base { opacity: 0.24; }
.architecture-volume { opacity: 0.48; animation-delay: 0.4s; }
.architecture-roof { stroke: #a67d28; stroke-width: 2.5; opacity: 0.65; animation-delay: 0.8s; }
.architecture-details { opacity: 0.35; animation-delay: 1.2s; }

@keyframes architecture-draw {
  0% { stroke-dashoffset: 100; }
  38%, 84% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -100; }
}

.hero-motion-control {
  position: absolute;
  bottom: 18px;
  right: clamp(18px, 5vw, 64px);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

.hero-motion-control:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hero.is-paused::before, .hero.is-paused .architecture-line { animation-play-state: paused; }

@media (max-width: 900px) {
  .hero-architecture { width: 66%; top: 3%; right: -8%; opacity: 0.7; }
}

@media (max-width: 520px) {
  .hero-architecture { width: 92%; top: 0; right: -28%; opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .architecture-line { animation: none; }
  .architecture-line { stroke-dashoffset: 0; }
  .hero-motion-control { display: none; }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  line-height: 1.15;
}

.hero-heading { grid-column: 1 / -1; }

h1 {
  max-width: none;
  font-size: clamp(1rem, 5vw, 5rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

button, input, select, textarea { font-family: inherit; }

h2 {
  font-size: clamp(2rem, 4.8vw, 4rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions,
.contact-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 500;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-mid));
  box-shadow: 0 12px 26px rgba(18, 50, 90, 0.18);
}

.button.primary:hover {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.button.whatsapp {
  color: #fff;
  background: #1f9d55;
}

.button.whatsapp:hover {
  background: #168246;
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
}

.hero-panel,
.service-card,
.list-box {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 28px;
}

.hero-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.hero-panel p,
.text-block p,
.list-box p,
.contact-section p,
.service-card p {
  color: var(--muted);
}

.panel-line {
  width: 70px;
  height: 5px;
  margin-bottom: 32px;
  background: var(--gold);
  border-radius: 999px;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 64px);
}

.two-column,
.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.text-block p:first-child,
.split-band p,
.list-box p {
  margin-top: 0;
}

.split-band {
  color: #fff;
  background:
    linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.split-band .eyebrow {
  color: #d7b76b;
}

.split-band p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.value-list span {
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  font-weight: 500;
}

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

.service-card {
  min-height: 250px;
  padding: 24px;
}

.service-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

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

.gallery-section {
  background: linear-gradient(180deg, var(--soft) 0%, #ffffff 100%);
}

.photo-grid {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.photo-card {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-collage .collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  aspect-ratio: 4 / 3;
  background: var(--line);
}

.photo-collage img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.photo-collage .collage-main {
  grid-row: span 2;
}

.photo-collage-two .collage-two-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  aspect-ratio: auto;
  background: var(--line);
}

.photo-collage-two img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.photo-collage-two {
  grid-column: span 2;
}

.photo-card figcaption {
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 500;
}

.photo-placeholder {
  display: grid;
  place-items: center;
  min-height: 260px;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(18, 50, 90, 0.13), rgba(47, 95, 147, 0.07), #ffffff),
    var(--surface);
  border: 1px dashed #9aaabd;
  border-radius: 8px;
  font-weight: 500;
}

.list-box {
  padding: 24px;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-section div:first-child {
  max-width: 760px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.floating-whatsapp {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 1000;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  color: #fff;
  background: #1f9d55;
  border-radius: 50%;
  box-shadow: 0 16px 32px rgba(18, 50, 90, 0.24);
  animation: whatsapp-float 3.6s ease-in-out infinite;
}

.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(31, 157, 85, 0.45);
  border-radius: 50%;
  pointer-events: none;
  animation: whatsapp-halo 3.6s ease-out infinite;
}

@keyframes whatsapp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes whatsapp-halo {
  0% { transform: scale(0.9); opacity: 0; }
  20% { opacity: 0.65; }
  75%, 100% { transform: scale(1.3); opacity: 0; }
}

.floating-whatsapp:is(:hover, :focus-visible),
.floating-whatsapp:is(:hover, :focus-visible)::before {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp, .floating-whatsapp::before { animation: none; }
  .floating-whatsapp::before { opacity: 0; }
}

.floating-whatsapp:hover {
  background: #168246;
}

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

.floating-whatsapp svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.process-section {
  background: var(--blue-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.process-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 32px;
  margin-bottom: 40px;
}

.process-heading h2 {
  max-width: none;
  font-size: clamp(1.6rem, 3.5vw, 3.5rem);
  white-space: nowrap;
}

.process-intro {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(7, 26, 51, 0.05);
}

.process-number {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
  font-weight: 500;
  font-size: 1.1rem;
}

.process-step h3 {
  max-width: 22ch;
  line-height: 1.25;
}

.process-step p {
  margin: 14px 0 0;
  color: var(--muted);
}

.process-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
}

.process-footer p {
  margin: 0;
  color: var(--muted);
}

.process-footer .button {
  gap: 14px;
  flex-shrink: 0;
}

.process-footer .button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .process-heading, .process-grid { grid-template-columns: 1fr; }
  .process-heading { gap: 20px; margin-bottom: 28px; }
  .process-step { padding: 24px; }
  .process-number { margin-bottom: 20px; }
  .process-footer { flex-direction: column; align-items: stretch; }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .hero,
  .two-column,
  .split-band,
  .service-grid {
    grid-template-columns: 1fr;
  }

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

  .photo-collage-two {
    grid-column: span 2;
  }

  .hero {
    min-height: auto;
  }

  .contact-section,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    max-width: 190px;
  }

  .button {
    width: 100%;
  }

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

  .photo-collage-two {
    grid-column: auto;
  }
}

.blog-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.blog-heading { max-width: 780px; margin-bottom: 36px; }
.blog-heading h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
.blog-heading > p:last-child { color: var(--muted); font-size: 1.08rem; margin: 20px 0 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.blog-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 8px; box-shadow: 0 8px 24px rgba(7, 26, 51, 0.05); }
.blog-category { margin: 0 0 20px; color: var(--accent); font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.blog-card h3, .blog-card h4 { line-height: 1.3; font-size: 1.35rem; }
.blog-card > p:not(.blog-category), .blog-content { color: var(--muted); }
.blog-card details { margin-top: 24px; border-top: 1px solid var(--line); }
.blog-card summary { padding: 16px 0 0; color: var(--accent); font-weight: 500; cursor: pointer; }
.blog-card summary:hover { text-decoration: underline; }
.blog-card summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.blog-content { padding-top: 4px; }
.blog-content ul { padding-left: 20px; }
.blog-content li + li { margin-top: 10px; }
.blog-content p:last-child { margin-bottom: 0; }
.blog-note { margin: 28px 0 0; color: var(--muted); font-size: 0.9rem; }
.blog-contact-note { margin: 20px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; scroll-margin-top: 100px; }
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.whatsapp-contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; scroll-margin-top: 100px; }
.whatsapp-copy h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); max-width: 15ch; }
.whatsapp-copy > p:not(.eyebrow) { color: var(--muted); margin: 24px 0; }
.whatsapp-direct { display: inline-block; color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.whatsapp-form { padding: clamp(20px, 3vw, 32px); background: var(--blue-tint); border: 1px solid var(--line); border-radius: 8px; }
.whatsapp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.whatsapp-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; min-width: 0; }
.whatsapp-field label { font-weight: 500; }
.whatsapp-field label span { color: var(--muted); font-size: 0.8rem; font-weight: 400; }
.whatsapp-field input, .whatsapp-field select, .whatsapp-field textarea { width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid #9aaabd; border-radius: 6px; background: #fff; color: var(--ink); font: inherit; }
.whatsapp-field textarea { resize: vertical; }
.whatsapp-field input:focus-visible, .whatsapp-field select:focus-visible, .whatsapp-field textarea:focus-visible, .whatsapp-direct:focus-visible, .whatsapp-form button:focus-visible { outline: 3px solid var(--accent-mid); outline-offset: 3px; }
#whatsapp-notice { color: var(--muted); font-size: 0.9rem; margin: 0 0 20px; }
.whatsapp-form button { font: inherit; font-weight: 500; cursor: pointer; }
@media (max-width: 900px) { .whatsapp-contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .whatsapp-fields { grid-template-columns: 1fr; gap: 0; } }

.contact-email { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.contact-email:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.gallery-intro { color: var(--muted); font-size: 1.12rem; margin: 20px 0 0; }
.gallery-shortcuts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 44px; }
.gallery-shortcuts a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 18px; color: var(--accent); background: #fff; border: 1px solid var(--line); border-radius: 6px; font-weight: 500; }
.gallery-shortcuts a:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.gallery-shortcuts a:focus-visible, .work-photo:focus-visible, .photo-viewer-close:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.work-category { margin-top: 44px; scroll-margin-top: 110px; }
.work-category-heading { display: flex; align-items: center; gap: 18px; padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.work-category-number { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 6px; background: var(--accent); color: #fff; border-bottom: 3px solid var(--gold); font-size: 1.25rem; }
.work-category-heading h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.work-category-heading p { color: var(--muted); margin: 8px 0 0; }
.work-category-count { margin-left: auto; white-space: nowrap; color: var(--muted); font-size: 0.9rem; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.work-card { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(7, 26, 51, 0.06); }
.work-photo { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 10px; background: var(--blue-tint); }
.work-photo img { position: absolute; inset: 10px; margin: auto; display: block; width: auto; height: auto; max-width: calc(100% - 20px); max-height: calc(100% - 20px); object-fit: contain; }
.work-photo-action { position: absolute; right: 12px; bottom: 12px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255, 255, 255, 0.95); color: var(--accent); font-size: 0.85rem; }
.work-photo:hover .work-photo-action, .work-photo:focus-visible .work-photo-action { color: #fff; background: var(--accent); }
.work-card figcaption { padding: 16px 18px; border-top: 1px solid var(--line); color: var(--ink); font-size: 1.08rem; }
.photo-viewer { width: fit-content; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); overflow: auto; }
.photo-viewer::backdrop { background: rgba(7, 26, 51, 0.88); }
.photo-viewer form { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.photo-viewer-close { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 8px 14px; color: var(--accent); background: var(--soft); border: 1px solid var(--line); border-radius: 6px; font: inherit; cursor: pointer; }
.photo-viewer-close span { font-size: 1.6rem; line-height: 1; }
.photo-viewer figure { margin: 0; }
.photo-viewer img { display: block; width: auto; height: auto; max-width: 100%; max-height: 70dvh; object-fit: contain; margin: auto; }
.photo-viewer figcaption { padding: 14px 4px 0; font-size: 1.1rem; }
body:has(.photo-viewer[open]) { overflow: hidden; }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .work-grid { grid-template-columns: 1fr; gap: 16px; }
  .work-category-heading { gap: 12px; align-items: flex-start; }
  .work-category-count { display: none; }
  .work-category-number { flex-basis: 40px; height: 40px; }
  .gallery-shortcuts { gap: 8px; margin-bottom: 32px; }
  .gallery-shortcuts a { padding: 8px 12px; }
}

.blog-browser-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }
.blog-browser-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--accent); font: inherit; font-weight: 500; cursor: pointer; }
.blog-browser-controls button[aria-pressed="true"] { color: #fff; background: var(--accent); border-color: var(--accent); box-shadow: inset 0 -3px var(--gold); }
.blog-browser-controls button:hover { border-color: var(--accent); }
.blog-browser-controls p { margin: 0 0 0 auto; color: var(--muted); font-size: 0.95rem; }
.blog-panels { position: relative; display: flex; align-items: flex-start; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--accent-mid) var(--line); padding-bottom: 14px; }
.blog-panel { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.blog-panel-title { margin: 0 0 22px; font-size: 1.6rem; }
.blog-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-browser-controls button:focus-visible, .blog-panels:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
@media (max-width: 900px) { .blog-archive-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .blog-browser-controls p { width: 100%; margin: 0; } }
@media (prefers-reduced-motion: reduce) { .blog-panels { scroll-behavior: auto; } }
.blog-card h4 { margin: 0; font-weight: 400; overflow-wrap: anywhere; }

.privacy-notice { margin: 0 0 20px; color: var(--muted); font-size: 0.95rem; }
.privacy-notice a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.privacy-notice a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
