/* ==========================================================================
   Resurs Photo — design system
   Minimalist / architectural / editorial. Black-white-neutral. Big type.
   ========================================================================== */

:root {
  --ink: #14130f;
  --ink-soft: #4a473e;
  --ink-dim: #8c8878;
  --line: rgba(20, 19, 15, 0.12);
  --line-strong: rgba(20, 19, 15, 0.28);
  --bg: #f7f5f0;
  --bg-flat: #ffffff;
  --accent: #14130f;
  --photo-bg: #d8d4c8;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1180px;
  --gutter: clamp(20px, 6vw, 72px);
  --section-y: clamp(56px, 9vw, 120px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-y) 0; }
.section + .section { border-top: 1px solid var(--line); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 { font-size: clamp(38px, 6.5vw, 76px); line-height: 1.02; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; }
h3 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.2; font-weight: 500; }

p { margin: 0; }
.lede {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 640px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.stack { display: flex; flex-direction: column; }
.g-8 { gap: 8px; } .g-12 { gap: 12px; } .g-16 { gap: 16px; }
.g-24 { gap: 24px; } .g-32 { gap: 32px; } .g-48 { gap: 48px; }

/* ---------------------------------- header ---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}

.nav a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-bottom-color: var(--ink);
}

.nav .btn { border-bottom: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px var(--gutter) 28px;
    gap: 18px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 15px; }
}

/* ---------------------------------- buttons ---------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover { background: var(--ink); color: var(--bg-flat); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink-soft);
}
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bg-flat); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------- hero (home) ---------------------------------- */

.hero {
  padding-top: clamp(48px, 7vw, 88px);
}

.hero-copy { max-width: 760px; }
.hero-copy h1 { margin: 18px 0 22px; }

.tagline-caption {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--ink-dim);
  margin: 2px 0 4px;
}

.hero-photo {
  margin-top: clamp(32px, 6vw, 64px);
  aspect-ratio: 16 / 8;
}

/* ---------------------------------- photo placeholder ---------------------------------- */

.photo {
  position: relative;
  overflow: hidden;
  background: var(--photo-bg);
  border-radius: 2px;
}

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

.photo.placeholder::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background:
    repeating-linear-gradient(135deg, rgba(20,19,15,0.05) 0 2px, transparent 2px 14px);
}

.photo.ratio-16-9 { aspect-ratio: 16 / 9; }
.photo.ratio-4-3  { aspect-ratio: 4 / 3; }
.photo.ratio-3-4  { aspect-ratio: 3 / 4; }
.photo.ratio-1-1  { aspect-ratio: 1 / 1; }

/* ---------------------------------- services grid (home) ---------------------------------- */

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

.service-row {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.15s ease;
}

.service-row:hover { opacity: 0.6; }

.service-row .num {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink-dim);
}

.service-row .name h3 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.05;
}
.service-row .name p { color: var(--ink-soft); font-size: 15.5px; max-width: 520px; }

.service-row .arrow {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ink-dim);
}

.addons-note {
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

@media (max-width: 640px) {
  .service-row { grid-template-columns: 44px 1fr; }
  .service-row .arrow { display: none; }
}

/* ---------------------------------- service page ---------------------------------- */

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

@media (max-width: 860px) {
  .service-hero-grid { grid-template-columns: 1fr; }
}

.service-kicker {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

@media (max-width: 760px) {
  .meta-grid { grid-template-columns: 1fr; gap: 20px; }
}

.meta-item .eyebrow { margin-bottom: 8px; }
.meta-item p { color: var(--ink); font-size: 15.5px; }
.meta-item p + p { margin-top: 4px; color: var(--ink-soft); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
}

@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
}

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plain-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--ink-soft);
}

.plain-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1px;
  background: var(--ink-dim);
}

/* details/summary — expandable blocks */

details.reveal {
  border-top: 1px solid var(--line);
}

details.reveal:last-of-type { border-bottom: 1px solid var(--line); }

details.reveal summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 19px;
}

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

details.reveal summary .sign {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-dim);
  transition: transform 0.2s ease;
}

details.reveal[open] summary .sign { transform: rotate(45deg); }

details.reveal .reveal-body {
  padding: 0 0 26px;
}

.callout {
  background: var(--bg-flat);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 22px 24px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.callout strong { color: var(--ink); }

/* price block */

.price-block {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.price-figure {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
}

.price-note {
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 460px;
}

/* gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-grid .photo:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .photo:first-child { grid-column: span 2; }
}

/* cta band */

.cta-band {
  background: var(--ink);
  color: var(--bg-flat);
  border-radius: 2px;
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h3 { color: var(--bg-flat); }
.cta-band .lede { color: rgba(247, 245, 240, 0.7); }

.cta-band .btn { border-color: var(--bg-flat); color: var(--bg-flat); }
.cta-band .btn:hover { background: var(--bg-flat); color: var(--ink); }

/* ---------------------------------- footer ---------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 64px) 0 32px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 32px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a { font-size: 14.5px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-dim);
}

/* ---------------------------------- breadcrumb ---------------------------------- */

.crumb {
  font-size: 12.5px;
  color: var(--ink-dim);
  display: flex;
  gap: 8px;
  align-items: center;
}

.crumb a { color: var(--ink-dim); }
.crumb a:hover { color: var(--ink); }
