/* Adrian's Design + Remodeling — styles for the standalone site's own pages (project pages, etc.).
   Same colors and type as the header, footer and homepage elements. */
:root {
  --ink: #1f1d1a; --muted: #6b655c; --line: #e4ddd1; --paper: #faf7f2; --card: #ffffff;
  --brass: #a8834a; --brass-dark: #8a6a38; --brass-soft: #c19a5b;
  --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Inter', system-ui, sans-serif;
  --gutter: max(20px, min(5vw, 56px));
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.site-header { display: block; position: sticky; top: 0; z-index: 50; height: 90px; }
@media (max-width: 640px) { .site-header { height: 64px; } }
adrians-footer { display: block; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { margin: 0 0 14px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-dark); }
h1, h2 { font-family: var(--serif); font-weight: 500; text-wrap: balance; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 24px; background: var(--ink); color: var(--paper);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.btn:hover { background: var(--brass-dark); }
.btn.light { background: var(--paper); color: var(--ink); } .btn.light:hover { background: var(--brass-soft); }
.link { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 3px; justify-self: start; }

/* project page */
.ph { padding-block: 56px 32px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--brass-dark); border-color: var(--brass); }
.ph h1 { margin: 0; font-size: clamp(42px, 6.4vw, 84px); line-height: 1; letter-spacing: -.01em; max-width: 16ch; }
.cover { margin: 0; max-width: 1600px; margin-inline: auto; }
.cover img { width: 100%; max-height: 82vh; object-fit: cover; background: #e8e0d3; }
.story { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-block: 64px; }
.facts { position: sticky; top: 120px; align-self: start; display: grid; gap: 18px; }
.facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { padding-right: 18px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-dark); align-self: center; }
.text { max-width: 66ch; }
.text h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; margin: 0 0 24px; }
.text p { margin: 0 0 20px; color: #3d3934; font-size: 17px; line-height: 1.8; }
.text p.pull { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.3; color: var(--ink); margin-block: 8px 28px; padding-left: 20px; border-left: 2px solid var(--brass); }
.text ul { margin: 0 0 20px; padding-left: 20px; color: #3d3934; }
.gallery { padding-block: 24px 72px; }
.gh { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: clamp(30px, 3.4vw, 42px); margin: 0 0 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.gh span { font-family: var(--sans); font-size: 13px; color: var(--muted); letter-spacing: .04em; }
/* the before photos: a smaller strip ahead of the finished ones */
.gallery.before { padding-bottom: 0; }
.gallery.before .grid { --row: 150px; }
.grid.small { --row: 150px; margin-bottom: 8px; }
.bh { margin: 0 0 12px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-dark); }
.grid.small + .bh { margin-top: 28px; }
.gallery.room { padding-bottom: 24px; }
/* "About this room": a small button under the room's name that opens its write-up in a bubble */
.gallery.room { position: relative; }
.gallery.room .gh { margin-bottom: 12px; }
.about { position: relative; margin: 0 0 22px; }
.about summary { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px 8px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; list-style: none; user-select: none; transition: border-color .2s, background .2s; }
.about summary::-webkit-details-marker { display: none; }
.about summary:hover, .about[open] summary { border-color: var(--brass-soft); background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(243,236,224,.9)); box-shadow: inset 0 1px 0 #fff, 0 8px 18px -12px rgba(31,29,26,.5); }
.about .i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brass); color: #fff; font-family: var(--serif); font-style: italic; font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: 0; }
/* the write-up panel: frosted glass like the header capsule, full width, in the page (photos move down) */
.bubble { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 56px; align-items: start; margin-top: 16px;
  padding: clamp(26px, 3vw, 44px) clamp(24px, 3.4vw, 52px); border-radius: 28px; border: 1px solid rgba(255,255,255,.75); color: #3d3934; font-size: 15.5px; line-height: 1.7;
  background:
    linear-gradient(180deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.10) 42%, rgba(255,255,255,0) 60%, rgba(255,255,255,.22) 100%),
    radial-gradient(120% 150% at 0% 0%, rgba(193,154,91,.22), transparent 56%),
    radial-gradient(90% 130% at 100% 100%, rgba(168,131,74,.16), transparent 60%),
    rgba(255,255,255,.58);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(255,255,255,.35), 0 1px 2px rgba(31,29,26,.06), 0 24px 48px -26px rgba(31,29,26,.4);
  transform-origin: 40px 0; animation: bubble-in .38s cubic-bezier(.3,.7,.2,1); }
.bubble.one { grid-template-columns: 1fr; }
.bubble p { margin: 0 0 14px; } .bubble p:last-child { margin-bottom: 0; }
.bubble .eyebrow { margin-bottom: 14px; }
.bubble .rh-lead { font-family: var(--serif); font-style: italic; font-size: clamp(23px, 2.3vw, 32px); line-height: 1.25; color: var(--ink); text-wrap: balance; }
.b-body { max-width: 68ch; padding-right: 28px; }
.bubble a { text-decoration-color: var(--brass); text-underline-offset: 3px; }
.bubble-x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 4px 10px -6px rgba(31,29,26,.4); font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer; transition: color .2s, background .2s; }
.bubble-x:hover { color: var(--ink); background: rgba(255,255,255,.85); }
@keyframes bubble-in { from { opacity: 0; transform: translateY(-8px) scale(.985); } }
@media (max-width: 900px) { .bubble { grid-template-columns: 1fr; border-radius: 22px; } .b-body { padding-right: 0; } .bubble .eyebrow { padding-right: 40px; } }
@media (max-width: 700px) { .gallery.room .gh { display: block; } .gallery.room .gh span { display: block; margin-top: 8px; } }
@media (prefers-reduced-motion: reduce) { .bubble { animation: none; } }
.gallery.room:last-of-type { padding-bottom: 72px; }
.gallery.before + .gallery .gh { border-top: 0; padding-top: 8px; }
/* Photos sit in even rows, in order, left to right then down (photo 1 is top left). Every photo in a row has
   the same height and nothing is cropped; a wider screen fits more photos per row. --ar is width ÷ height. */
.gallery.wrap { max-width: min(2000px, 100%); }
.grid { display: flex; flex-wrap: wrap; gap: 10px; --row: 230px; }
.grid::after { content: ''; flex: 1000000 1 0; } /* keeps the last row from stretching */
.g { display: block; flex: var(--ar) 1 calc(var(--ar) * var(--row)); aspect-ratio: var(--ar); max-width: 100%; overflow: hidden; background: #e8e0d3; cursor: zoom-in; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.3,.7,.2,1); }
.g:hover img { transform: scale(1.03); }
.prevnext { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding-block: 28px 72px; border-top: 1px solid var(--line); }
.pn { display: grid; gap: 2px; text-decoration: none; }
.pn.next { text-align: right; }
.pn span { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-dark); }
.pn b { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.pn:hover b { color: var(--brass-dark); }
.prevnext .all { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 3px; }
.closing { background: #1f1d1a; color: #f1ede6; }
.closing .wrap { padding-block: 88px; display: grid; gap: 18px; justify-items: start; }
.closing h2 { margin: 0; font-style: italic; font-size: clamp(42px, 6vw, 76px); line-height: 1; }
.closing p { margin: 0 0 8px; max-width: 52ch; color: #cfc8bd; font-size: 17px; }

/* photo viewer */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20,18,16,.96); color: #fff; }
.lightbox::backdrop { background: rgba(20,18,16,.96); }
.lightbox img { position: absolute; inset: 56px 64px; width: calc(100% - 128px); height: calc(100% - 112px); object-fit: contain; }
.lightbox button { position: absolute; border: 0; background: none; color: #fff; font: 300 44px/1 var(--sans); cursor: pointer; padding: 12px 16px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox .x { top: 8px; right: 12px; }
.lightbox .lb-prev { left: 4px; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { right: 4px; top: 50%; translate: 0 -50%; }
.lightbox .count { position: absolute; left: 0; right: 0; bottom: 16px; margin: 0; text-align: center; font-size: 13px; letter-spacing: .1em; color: #cfc8bd; }

/* migration preview index */
.preview { padding-block: 72px; }
.preview h1 { font-size: 56px; margin: 0 0 24px; }
.preview ul { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
.preview li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.preview li a { font-family: var(--serif); font-size: 24px; text-decoration: none; }
.preview li span, .preview .note { color: var(--muted); font-size: 14px; }

@media (max-width: 760px) {
  .story { grid-template-columns: 1fr; padding-block: 40px; }
  .facts { position: static; order: 2; }
  .text p { font-size: 16px; }
  .grid { gap: 6px; --row: 108px; }
  .gallery.before .grid, .grid.small { --row: 84px; }
  .prevnext { grid-template-columns: 1fr 1fr; } .prevnext .all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .pn b { font-size: 21px; }
  .lightbox img { inset: 56px 8px; width: calc(100% - 16px); }
}
@media (prefers-reduced-motion: reduce) { * { transition-duration: 0s !important; } }

/* ---- write-up pieces shared by the layouts ---- */
.text h3, .col h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 28px 0 12px; }
.closing-line { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; color: var(--muted); margin: 28px 0 0; }
.text .pull { margin-bottom: 36px; }

/* preview-only layout switcher */
.pbar { position: fixed; left: 50%; bottom: 14px; translate: -50% 0; z-index: 60; display: flex; align-items: center; gap: 4px; padding: 5px 5px 5px 14px;
  border-radius: 999px; background: rgba(31,29,26,.92); color: #cfc8bd; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; max-width: calc(100vw - 16px); overflow-x: auto; }
.pbar a { padding: 9px 12px; border-radius: 999px; color: #f1ede6; text-decoration: none; }
.pbar a[aria-current] { background: var(--brass); color: #1f1d1a; }

/* ---- photo-order tool ---- */
.arrange { padding-block: 56px 96px; }
.arrange h1 { font-size: clamp(36px, 5vw, 56px); margin: 0 0 16px; }
.a-help { color: var(--muted); font-size: 15px; padding-left: 20px; margin: 0 0 24px; }
.a-bar { position: sticky; top: 100px; z-index: 5; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 12px 0; background: var(--paper); }
.a-bar .link { background: none; border-width: 0 0 1px; cursor: pointer; font-family: inherit; color: inherit; }
.a-bar .btn { border: 0; cursor: pointer; font-family: inherit; }
#a-msg { font-size: 14px; color: var(--brass-dark); }
.a-grid { list-style: none; margin: 12px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.a-tile { position: relative; cursor: pointer; outline: 3px solid transparent; outline-offset: -3px; background: #e8e0d3; }
.a-tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; pointer-events: none; }
.a-tile.picked { outline-color: var(--brass); box-shadow: 0 10px 24px -8px rgba(0,0,0,.5); transform: scale(1.03); z-index: 1; }
.a-num { position: absolute; left: 6px; top: 6px; min-width: 26px; padding: 3px 6px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; text-align: center; }
.a-orig { position: absolute; left: 6px; bottom: 6px; padding: 2px 6px; background: rgba(250,247,242,.9); font-size: 11px; font-weight: 500; color: var(--muted); }
.a-cover { position: absolute; right: 6px; top: 6px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(250,247,242,.9); color: #b8b0a3; font-size: 16px; cursor: pointer; }
.a-tile.is-cover .a-cover { background: var(--brass); color: #fff; }
#a-out { width: 100%; font: 14px/1.5 ui-monospace, monospace; padding: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.preview h2 { font-size: 30px; margin: 36px 0 8px; }

@media (max-width: 760px) {
  .a-bar { top: 70px; }
  .pbar a { padding: 9px 9px; }
}

/* ---- options for the top of a project page ---- */
.crumbrow { padding-block: 16px; } .crumbrow .crumbs { margin: 0; }
.facts dd { line-height: 1.45; }

/* 1 · title on the photo */
.hp { position: relative; height: min(78vh, 780px); min-height: 460px; overflow: hidden; background: #2a2723; color: #fff; }
.hp > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,18,16,.84) 0%, rgba(20,18,16,.4) 36%, rgba(20,18,16,0) 62%); }
.hp-in { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(28px, 5vw, 56px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hp h1 { margin: 0; font-size: clamp(44px, 6.6vw, 92px); line-height: .98; letter-spacing: -.01em; max-width: 14ch; text-shadow: 0 1px 24px rgba(0,0,0,.35); }
.hp .eyebrow { color: #e9cf9f; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.photos-pill { display: inline-flex; align-items: center; gap: 12px; padding: 6px 20px 6px 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.32);
  background: rgba(20,18,16,.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: background .2s; }
.photos-pill:hover { background: rgba(20,18,16,.75); }
.stack { display: flex; } .stack img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.9); margin-left: -14px; }
.stack img:first-child { margin-left: 0; }

/* 2 · framed at the top */
.hero-top { padding-block: 28px 40px; }
.ht { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end; }
.ht h1 { margin: 0; font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -.01em; }
.ht-side .pull { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.3; margin: 0 0 6px; padding-left: 20px; border-left: 2px solid var(--brass); }
.plate { margin-block: 0; }
.plate img { width: 100%; aspect-ratio: 16 / 9; max-height: 76vh; object-fit: cover; background: #e8e0d3; }

/* 3 · opening spread */
.hero-spread { position: relative; margin-bottom: 72px; }
.hs-photo { height: min(calc(100vh - 90px), 860px); min-height: 540px; overflow: hidden; background: #2a2723; }
.hs-photo img { width: 100%; height: 100%; object-fit: cover; }
.hs-in { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hs-card { background: var(--paper); padding: clamp(24px, 3vw, 40px); width: min(580px, 100%); translate: 0 56px; box-shadow: 0 30px 60px -30px rgba(31,29,26,.5); animation: hs-rise .9s cubic-bezier(.3,.7,.2,1) both; }
.hs-card .crumbs { margin-bottom: 18px; }
.hs-card h1 { margin: 0 0 16px; font-size: clamp(38px, 4.4vw, 62px); line-height: 1; letter-spacing: -.01em; }
.hs-lead { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.35; margin: 0 0 20px; color: #3d3934; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chips li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); background: var(--card); }
.hs-strip { display: flex; gap: 8px; padding-bottom: 24px; }
.thumb { display: block; width: 108px; aspect-ratio: 3 / 2; overflow: hidden; border: 2px solid rgba(255,255,255,.9); background: #2a2723; color: #fff; text-decoration: none; transition: transform .25s cubic-bezier(.3,.7,.2,1); }
.thumb:hover { transform: translateY(-4px); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.more { display: grid; place-content: center; text-align: center; gap: 2px; background: rgba(20,18,16,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.thumb.more b { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1; }
.thumb.more span { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
@keyframes hs-rise { from { opacity: 0; transform: translateY(18px); } }
/* the photo drifts slightly as the page scrolls (browsers that support it; off for reduced motion) */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hs-photo img { animation: hs-drift linear both; animation-timeline: scroll(root block); animation-range: 0 100vh; }
  }
}
@keyframes hs-drift { to { transform: scale(1.07) translateY(4%); } }

@media (max-width: 900px) {
  .ht { grid-template-columns: 1fr; align-items: start; }
  .hs-strip .thumb:nth-child(-n+2) { display: none; }
}
@media (max-width: 760px) {
  .hp { height: 68vh; }
  .photos-pill { padding-right: 16px; }
  .hero-spread { margin-bottom: 8px; }
  .hs-photo { height: 58vh; min-height: 380px; }
  .hs-in { position: static; flex-direction: column; align-items: stretch; gap: 12px; }
  .hs-card { translate: none; margin-top: -72px; position: relative; width: auto; }
  .hs-strip { padding: 0; overflow-x: auto; }
  .hs-strip .thumb, .hs-strip .thumb:nth-child(-n+2) { display: block; flex: none; width: 104px; border-color: var(--line); }
  .hs-strip .thumb.more { display: grid; }
}
@media (prefers-reduced-motion: reduce) { .hs-card { animation: none; } }

/* pages drawn by the shared elements (homepage, service pages, reviews) */
main > adrians-hero, main > adrians-home-body, main > adrians-kitchen-design, main > adrians-bath-design, main > adrians-reviews { display: block; }
.home-hero { height: calc(100vh - 90px); min-height: 560px; max-height: 860px; }
@media (max-width: 640px) { .home-hero { height: 640px; max-height: none; } }

/* list pages (all kitchens, all baths, all flooring) */
.list { padding-block: 56px 96px; }
.list-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.list-head h1 { margin: 0; font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -.01em; }
.list-intro { margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; padding-left: 20px; border-left: 2px solid var(--brass); }
.list-intro .link { display: table; margin-top: 14px; font-family: var(--sans); font-style: normal; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.card { display: block; text-decoration: none; }
.card .cph { display: block; overflow: hidden; background: #e8e0d3; aspect-ratio: 4 / 3; }
.card .cph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.3,.7,.2,1); }
.card:hover .cph img { transform: scale(1.04); }
.card .meta { display: grid; gap: 4px; padding-top: 14px; }
.card .where { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-dark); }
.card b { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; }
.card:hover b { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.card.first { grid-column: 1 / -1; }
.card.first .cph { aspect-ratio: 16 / 9; max-height: 70vh; }
.card.first b { font-size: clamp(30px, 3.4vw, 46px); }
.card .mats { font-size: 13px; color: var(--muted); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .list-head { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .cards { grid-template-columns: 1fr; gap: 32px; } .list { padding-block: 36px 64px; } .card.first .cph { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: reduce) { .card .cph img { transition: none; } }

/* FAQ */
.faq { padding-block: 56px 96px; }
.qa { max-width: 860px; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
.qa summary:hover h2 { color: var(--brass-dark); }
.pm { flex: none; position: relative; width: 16px; height: 16px; }
.pm::before, .pm::after { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--brass); transition: transform .25s; }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0); }
.ans { padding: 0 40px 26px 0; color: #3d3934; }
.ans p { margin: 0 0 14px; max-width: 68ch; }
.trim { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; }
.trim figure { margin: 0; }
.trim img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e8e0d3; }
.trim figcaption { padding-top: 8px; font-size: 13px; color: var(--muted); }
@media (max-width: 700px) { .faq { padding-block: 36px 64px; } .trim { grid-template-columns: repeat(2, 1fr); } .ans { padding-right: 0; } }
main > adrians-contact-form { display: block; }

/* service guides */
.guide-head { padding-block: 56px 32px; }
.guide-head h1 { margin: 0; max-width: 20ch; font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.01em; }
.guide .text h2.big { margin: 48px 0 8px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; }
.guide-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 32px 0; }
.guide-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e8e0d3; }
.steps { margin: 0 0 32px; padding-left: 22px; display: grid; gap: 8px; }
.steps li::marker { color: var(--brass-dark); font-weight: 600; }
.rev { margin: 0 0 20px; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); }
.rev p { margin: 0 0 10px; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.4; }
.rev footer { font-size: 13px; color: var(--muted); }

/* privacy policy and other plain text pages */
.legal { max-width: 760px; padding-block: 56px 96px; }
.legal h1 { margin: 0 0 24px; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; }
.legal h2 { margin: 40px 0 10px; font-size: clamp(26px, 2.6vw, 32px); }
.legal p, .legal li { color: #3d3934; }
.legal ul { padding-left: 22px; } .legal li { margin-bottom: 6px; }
.legal a { text-decoration-color: var(--brass); text-underline-offset: 3px; }
