:root {
  --page: #e7e9e3;
  --surface: #f3f4f0;
  --ink: #1e2321;
  --muted: #535953;
  --moss: #3d5239;
  --moss-deep: #22301f;
  --bronze: #a88752;
  --bronze-light: #cdb07c;
  --line: rgba(30, 35, 33, 0.16);
  --ok: #2f6b3a;
  --warn: #8a5a12;
  --bad: #9b2f24;

  --display: 'Bodoni Moda', 'Didot', Georgia, serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --radius: 2px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h3 { font-size: 1.75rem; }
p { margin: 0; max-width: 62ch; }
.lead { font-size: 1.3125rem; line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 144px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Page transition (pages opt in with @view-transition in their own <head>):
   the old page fades out, the new one rises in. Browsers without support just navigate. */
::view-transition-old(root) { animation: page-out 0.25s ease both; }
::view-transition-new(root) { animation: page-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Header */
.site-header {
  position: absolute; inset: 0 0 auto; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px var(--gutter);
}
.site-header.solid { position: static; border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; display: grid; line-height: 1; }
.brand b { font: 500 1.875rem/1 var(--display); letter-spacing: 0.01em; }
.brand span { font-size: 0.8125rem; color: var(--muted); margin-top: 4px; }
.on-photo .brand span, .on-photo .nav a { color: rgba(243, 244, 240, 0.86); }
.on-photo { color: var(--surface); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; align-items: center; justify-content: flex-end; }
/* Underline grows in from the left on hover and slides out to the right on leave */
.nav a, .nav button {
  font: 500 0.9375rem var(--body); text-decoration: none; color: var(--ink); border: 0; padding: 6px 0; cursor: pointer;
  background: linear-gradient(var(--bronze), var(--bronze)) no-repeat right bottom / 0 1px;
  transition: background-size 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav a:hover, .nav button:hover, .nav a:focus-visible, .nav button:focus-visible, .nav a[aria-current='page'] { background-position: left bottom; background-size: 100% 1px; }
.on-photo .nav a, .on-photo .nav button { background-image: linear-gradient(var(--bronze-light), var(--bronze-light)); }
@media (prefers-reduced-motion: reduce) { .nav a, .nav button { transition: none; } }
.on-photo .nav button { color: var(--surface); }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* Buttons and forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  font: 600 0.9375rem var(--body); text-decoration: none;
  border: 1px solid var(--moss); border-radius: var(--radius);
  background: var(--moss); color: var(--surface); cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--moss-deep); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.light { background: var(--surface); color: var(--ink); border-color: var(--surface); }
.btn.light:hover { background: var(--page); }
.btn.outline-light { background: transparent; color: var(--surface); border-color: rgba(243, 244, 240, 0.5); }
.btn.outline-light:hover { border-color: var(--surface); }
.btn.small { min-height: 36px; padding: 0 14px; font-size: 0.875rem; }
.btn.danger { background: transparent; color: var(--bad); border-color: currentColor; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field small { color: var(--muted); font-size: 0.8125rem; }
input, select, textarea {
  font: inherit; color: var(--ink);
  width: 100%; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--bronze); outline-offset: 0; border-color: transparent; }
textarea { min-height: 120px; resize: vertical; }
.form { display: grid; gap: 20px; }
.notice { padding: 14px 16px; border-left: 3px solid var(--moss); background: var(--surface); }
.notice.error { border-color: var(--bad); color: var(--bad); }
.notice:empty { display: none; }

/* Hero: lines set like courses of pavers in running bond */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: var(--surface); background: var(--moss-deep);
  overflow: hidden;
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 28, 20, 0.45) 0%, rgba(20, 28, 20, 0.28) 40%, rgba(20, 28, 20, 0.82) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-bottom: clamp(48px, 8vw, 96px); }
.hero h1 { font-size: clamp(2.25rem, 11vw, 10rem); line-height: 0.92; letter-spacing: -0.03em; }
.hero h1 .course { display: block; white-space: nowrap; }
.hero h1 .course:nth-child(even) { padding-left: 0.9em; }
@media (max-width: 640px) { .hero h1 { font-size: 13vw; } } /* largest size where "hechos piedra" still fits on one line */
.hero-foot { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: end; justify-content: space-between; margin-top: clamp(32px, 5vw, 56px); }
.hero-foot p { color: rgba(243, 244, 240, 0.86); font-size: 1.125rem; max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Gallery: running-bond grid (wide, square, square / square, square, wide) */
.gallery-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: end; justify-content: space-between; margin-bottom: 40px; }
.filters { display: flex; gap: 4px; border: 1px solid var(--line); padding: 4px; border-radius: var(--radius); }
/* Hover: a soft box fills in from the left behind the option and slides out to the right */
.filters button {
  font: 500 0.9375rem var(--body); padding: 8px 16px; border: 0; color: var(--muted); cursor: pointer; border-radius: var(--radius);
  background: linear-gradient(rgba(30, 35, 33, 0.08), rgba(30, 35, 33, 0.08)) no-repeat right center / 0 100%;
  transition: background-size 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
}
.filters button:not([aria-pressed='true']):not([aria-selected='true']):is(:hover, :focus-visible) { background-position: left center; background-size: 100% 100%; color: var(--ink); }
.filters button[aria-pressed='true'] { background: var(--ink); color: var(--surface); }
.filters.has-pill { position: relative; }
.filters.has-pill button { position: relative; z-index: 1; }
.filters.has-pill button[aria-pressed='true'] { background: none; }
.filter-pill { position: absolute; top: 4px; bottom: 4px; left: 0; background: var(--ink); border-radius: var(--radius); transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), width 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
@media (prefers-reduced-motion: reduce) { .filter-pill, .filters button { transition: none; } }
.gallery { display: flex; flex-wrap: wrap; gap: 10px; }
.tile { flex: 1 1 calc(25% - 10px); min-width: 0; margin: 0; }
.tile:nth-child(6n + 1), .tile:nth-child(6n + 6) { flex-basis: calc(50% - 10px); }
.tile button { display: block; width: 100%; height: clamp(200px, 22vw, 320px); padding: 0; border: 0; background: var(--line); cursor: zoom-in; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tile button:hover img { transform: scale(1.03); }
.tile figcaption { display: grid; gap: 2px; padding: 12px 2px 20px; }
.tile figcaption span:first-child { font: 400 1.1875rem/1.25 var(--display); }
.tile figcaption span:last-child { font-size: 0.8125rem; color: var(--muted); }
.gallery:not([data-filter='all']) figcaption span:last-child { display: none; }
@media (max-width: 760px) {
  .tile:nth-child(n) { flex-basis: calc(50% - 10px); }
  .tile:nth-child(3n + 1) { flex-basis: 100%; }
  .tile button { height: 44vw; }
  .tile:nth-child(3n + 1) button { height: 58vw; }
}
.empty { padding: 48px 0; color: var(--muted); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 94vh; color: var(--surface); }
.lightbox::backdrop { background: rgba(16, 22, 16, 0.92); }
.lightbox img { max-height: 76vh; width: auto; margin-inline: auto; }
.lightbox .caption { display: flex; justify-content: space-between; gap: 24px; align-items: start; padding-top: 18px; }
.lightbox h3 { font-size: 1.75rem; }
.lightbox p { color: rgba(243, 244, 240, 0.8); margin-top: 6px; }

/* Services on dark */
.dark { background: var(--moss-deep); color: var(--surface); }
.dark .muted, .dark .lead { color: rgba(243, 244, 240, 0.78); }
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 6vw, 96px); margin-top: 56px; }
.services h3 { font-size: clamp(2rem, 3.5vw, 2.75rem); color: var(--bronze-light); padding-bottom: 16px; border-bottom: 1px solid rgba(205, 176, 124, 0.35); }
.services ul { list-style: none; margin: 0; padding: 0; }
.services li { padding: 14px 0; border-bottom: 1px solid rgba(243, 244, 240, 0.12); font-size: 1.0625rem; }
.services p { margin-top: 20px; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

/* Steps: an actual sequence, so numbered */
.steps { list-style: none; margin: 56px 0 48px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 20px; }
.steps li::before { content: counter(step); font: 400 3.5rem/1 var(--display); display: block; margin-bottom: 16px; color: var(--moss); }
.steps h3 { font-size: 1.5rem; margin-bottom: 8px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Footer: closes the page on the same deep green as the services, with the phone as the big call */
.site-footer { background: var(--moss-deep); color: var(--surface); padding-block: clamp(72px, 10vw, 128px) 32px; }
.site-footer .lead { color: rgba(243, 244, 240, 0.78); }
.footer-main { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px 64px; padding-bottom: 56px; border-bottom: 1px solid rgba(243, 244, 240, 0.15); }
.footer-main h2 { font-size: clamp(2.5rem, 6vw, 5rem); max-width: 12ch; margin-bottom: 20px; }
.footer-phone {
  font: 400 clamp(2rem, 4.5vw, 3.75rem)/1.1 var(--display); color: var(--bronze-light); text-decoration: none; white-space: nowrap;
  background: linear-gradient(var(--bronze-light), var(--bronze-light)) no-repeat right bottom / 0 1px;
  transition: background-size 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-phone:hover, .footer-phone:focus-visible { background-position: left bottom; background-size: 100% 1px; }
.footer-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; margin: 40px 0 72px; }
.footer-info dt { font-size: 0.875rem; color: rgba(243, 244, 240, 0.6); margin-bottom: 4px; }
.footer-info dd { margin: 0; font-size: 1.0625rem; }
.footer-info a { text-decoration-color: rgba(205, 176, 124, 0.6); text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; color: rgba(243, 244, 240, 0.6); }
.footer-bottom .brand span { color: rgba(243, 244, 240, 0.7); }
@media (max-width: 760px) { .footer-info { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .footer-phone { transition: none; } }

/* Booking page */
.page-head { padding-block: clamp(48px, 7vw, 96px) 40px; }
.page-head h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); margin-bottom: 16px; }
.booking { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: 96px; }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); border-radius: var(--radius); }
.panel h2 { font-size: 2rem; margin-bottom: 16px; }

.calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.calendar-head h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.calendar-head .btn { min-width: 44px; padding: 0 12px; font: 400 1.5rem/1 var(--display); }
/* Days are laid like pavers: open days are stone slabs with tight joints, everything else recedes */
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.calendar .dow { font-size: 0.8125rem; color: var(--muted); text-align: center; padding-bottom: 8px; }
.day {
  aspect-ratio: 1; display: grid; place-items: center;
  font: 400 clamp(1rem, 2vw, 1.375rem) var(--display);
  border: 0; border-radius: var(--radius); background: transparent; color: var(--ink);
  cursor: pointer; position: relative;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.day[data-status='available'] {
  background: #d8dcd1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(30, 35, 33, 0.1);
}
.day[data-status='available']:hover { background: #cbd5c3; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 6px 14px -8px rgba(34, 48, 31, 0.5); }
.day[data-status='booked'] { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(30, 35, 33, 0.1) 6px 7px); color: var(--muted); }
.day[data-status='blocked'] { color: var(--muted); text-decoration: line-through; box-shadow: inset 0 0 0 1px var(--line); }
.day[data-status='past'] { color: rgba(30, 35, 33, 0.3); font-size: clamp(0.875rem, 1.6vw, 1.0625rem); cursor: default; }
.day:disabled { cursor: not-allowed; }
.day[data-status='past']:disabled { cursor: default; }
.day[aria-pressed='true'], .day[aria-pressed='true']:hover { background: var(--moss); color: var(--surface); transform: none; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2); }
@media (prefers-reduced-motion: reduce) { .day { transition: none; } .day[data-status='available']:hover { transform: none; } }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; font-size: 0.875rem; color: var(--muted); }
.legend span::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; border-radius: var(--radius); }
.legend .l-available::before { background: #d8dcd1; box-shadow: inset 0 -1px 0 rgba(30, 35, 33, 0.15); }
.legend .l-booked::before { background: repeating-linear-gradient(135deg, transparent 0 3px, rgba(30, 35, 33, 0.3) 3px 4px); }
.legend .l-blocked::before { box-shadow: inset 0 0 0 1px var(--muted); }

.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.status { font-size: 0.8125rem; font-weight: 600; }
.status.pendiente { color: var(--warn); }
.status.aceptada { color: var(--ok); }
.status.rechazada { color: var(--bad); }

/* Account page: photo on the left, one form at a time on the right */
.auth-page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 100svh; }
.auth-photo { position: sticky; top: 0; height: 100svh; overflow: hidden; color: var(--surface); background: var(--moss-deep); display: flex; flex-direction: column; justify-content: space-between; padding: 32px clamp(24px, 4vw, 56px) clamp(32px, 5vw, 64px); }
.auth-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 28, 20, 0.5) 0%, rgba(20, 28, 20, 0.15) 40%, rgba(20, 28, 20, 0.85) 100%); }
.auth-photo > *:not(img) { position: relative; z-index: 1; }
.auth-photo .brand span { color: rgba(243, 244, 240, 0.8); }
.auth-quote { font: 400 clamp(2.25rem, 3.6vw, 3.5rem)/1.12 var(--display); letter-spacing: -0.015em; max-width: 14ch; }
.auth-photo ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; color: rgba(243, 244, 240, 0.86); }
.auth-photo li { padding-left: 22px; position: relative; }
.auth-photo li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 10px; height: 1px; background: var(--bronze-light); }
.auth-main { display: flex; flex-direction: column; padding: 28px clamp(20px, 5vw, 72px) 64px; }
.auth-nav { align-self: flex-end; }
.auth-box { width: 100%; max-width: 440px; margin: auto; padding-top: 40px; display: grid; gap: 36px; }
.auth-box h1 { font-size: clamp(2.5rem, 4vw, 3.25rem); margin-bottom: 10px; }
.auth-switch { justify-self: start; }
.auth-switch button[aria-selected='true'] { background: var(--ink); color: var(--surface); }
.auth-box .form { gap: 22px; }
.auth-box .btn[type='submit'] { width: 100%; margin-top: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.password { position: relative; }
.password input { padding-right: 88px; }
.reveal { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 500 0.875rem var(--body); color: var(--muted); background: none; border: 0; padding: 8px 10px; cursor: pointer; }
.reveal:hover { color: var(--ink); }
.switch-hint { text-align: center; font-size: 0.9375rem; }
.link { font: inherit; color: var(--moss); font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--bronze); }
@media (max-width: 860px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-photo { position: relative; height: auto; min-height: 280px; gap: 48px; }
  .auth-photo ul { display: none; }
  .auth-quote { font-size: 2.25rem; }
  .auth-nav { display: none; }
  .auth-box { padding-top: 8px; margin-top: 0; }
}
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* Admin */
.admin-grid { display: grid; gap: 40px; padding-bottom: 96px; }
.panel > h2 + .notice, .panel > h2 + .requests { margin-top: 8px; }

/* Requests: pending ones carry the moss edge and full weight; answered ones step back */
.requests { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.request { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 18px 20px; border-radius: var(--radius); background: var(--page); border-left: 3px solid transparent; }
.request.pendiente { background: #fff; border-left-color: var(--moss); box-shadow: 0 1px 0 var(--line); }
.request.rechazada { opacity: 0.7; }
.request-date { display: grid; justify-items: center; padding: 8px 4px; background: #d8dcd1; border-radius: var(--radius); box-shadow: inset 0 -2px 0 rgba(30, 35, 33, 0.1); font-size: 0.8125rem; color: var(--muted); text-align: center; }
.request-day { font: 400 2rem/1 var(--display); color: var(--ink); }
.request.aceptada .request-date { background: var(--moss); color: rgba(243, 244, 240, 0.8); }
.request.aceptada .request-day { color: var(--surface); }
.request-body { display: grid; gap: 4px; min-width: 0; }
.request-top { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.request-top strong { font: 400 1.375rem/1.2 var(--display); }
.request-details { margin-top: 6px; font-size: 0.9375rem; }
.request-contact { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; font-size: 0.9375rem; }
.request-contact a { text-underline-offset: 3px; text-decoration-color: var(--bronze); }
.request-actions { flex-wrap: nowrap; }
.requests .empty { padding: 24px 0; }
@media (max-width: 640px) {
  .request { grid-template-columns: 60px minmax(0, 1fr); padding: 16px; gap: 14px; }
  .request-actions { grid-column: 1 / -1; }
  .request-actions .btn { flex: 1; }
}

/* Upload: the file input covers the whole drop area, so clicking and dropping both work natively */
.dropzone { position: relative; display: grid; place-items: center; min-height: 180px; border: 1px dashed var(--muted); border-radius: var(--radius); background: var(--page); overflow: hidden; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--moss); background: #dfe4da; }
.dropzone:focus-within { outline: 2px solid var(--bronze); outline-offset: 3px; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; padding: 0; }
.dropzone img { width: 100%; height: 220px; object-fit: cover; }
.dropzone-text { display: grid; gap: 6px; text-align: center; padding: 24px; pointer-events: none; }
.dropzone-text strong { font: 400 1.375rem var(--display); }
.dropzone-text small { color: var(--muted); }

.admin-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-top: 24px; }
.admin-projects figure { margin: 0; display: grid; gap: 8px; position: relative; }
.admin-projects img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.photo-delete { position: absolute; top: 8px; right: 8px; background: var(--surface); opacity: 0; transition: opacity 0.2s; }
.admin-projects figure:hover .photo-delete, .photo-delete:focus-visible { opacity: 1; }
@media (hover: none) { .photo-delete { opacity: 1; } }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
