/* Madame Wedding Design — styles for Services, About, Press, FAQ, Privacy and 404.
   Layout values are inline in the generated pages, as in the mockups; this file
   holds what inline styles cannot: image framing, hover states on hunter, and the
   phone rules (label above value, "What the house holds", the photo strip). */

/* <picture> is display: contents in site.css, so its <source> elements would become
   grid items (empty cells) in a photo grid. They never render anything. */
picture > source { display: none; }

/* Breadcrumb links: a 44 px touch area without changing the line. */
.trail a { display: inline-block; padding: 14px 0; margin: -14px 0; }

/* Links on hunter green */
.pg-ivory-link { display: inline-block; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ivory); border-bottom: 1px solid var(--ivory); padding: 6px 0; min-height: 44px; line-height: 32px; transition: opacity .3s; }
.pg-ivory-link:hover { color: var(--ivory); opacity: .72; }
.pg-hunter h2, .pg-hunter p, .pg-hunter span { color: var(--ivory); }

/* Quiet uppercase link used in lists and under formulas */
.pg-small-link { display: inline-block; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; border-bottom: 1px solid rgba(38, 32, 26, .3); padding: 6px 0; min-height: 44px; line-height: 32px; transition: border-color .3s; }
.pg-small-link:hover { border-color: var(--ink); }

/* "Next →" line at the foot of a page */
.pg-next { max-width: 720px; margin: 12vh auto 0; padding: 34px 28px 0; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.pg-next a { font-family: var(--display); font-size: 20px; display: inline-block; padding: 10px 0; margin: -10px 0; text-align: right; }

/* ── Services (5f) ───────────────────────────────────────────── */
.sv-hero { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.sv-level { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px 56px; padding: 40px 0; border-top: 1px solid var(--ink); margin-top: 20px; }
.sv-rows { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 0 20px; border-top: 1px solid var(--rule); }
.sv-rows > div { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.sv-rows dt { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-70); }
.sv-rows dd { font-size: 15px; margin-top: 2px; line-height: 1.55; }
.sv-strip { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 14px; }
.sv-strip img { width: 100%; object-fit: cover; }
.sv-strip .sv-side { aspect-ratio: 3 / 4.3; }
.sv-strip .sv-mid { height: 100%; }
.sv-holds { list-style: none; }
.sv-holds li { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 22px 0; border-top: 1px solid var(--rule); }
.sv-holds .n { flex: 0 0 52px; font-family: var(--display); font-size: 15px; color: var(--sage); padding-top: 4px; }
.sv-holds h3 { flex: 1 1 200px; min-width: 0; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.3; }
.sv-holds p { flex: 1.4 1 280px; min-width: 0; font-size: 16px; color: var(--ink-70); text-wrap: pretty; }
.sv-holds--method .n { font-size: 28px; font-weight: 300; line-height: 1; padding-top: 0; }
.sv-holds--method p { font-size: 16.5px; }

/* ── Press ───────────────────────────────────────────────────── */
.pr-list { list-style: none; border-top: 1px solid var(--rule); }
.pr-list li { border-bottom: 1px solid var(--rule); }
.pr-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; min-height: 44px; }
.pr-rec > * { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 26px; padding: 26px 0; border-bottom: 1px solid var(--rule); transition: opacity .3s; }
.pr-rec > a:hover { opacity: .6; color: var(--ink); }
.pr-feat { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 56px 32px; }
.pr-feat article { border-top: 1px solid var(--rule); padding-top: 22px; }
.pr-lead { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px clamp(28px, 5vw, 72px); align-items: center; margin-bottom: 12vh; }

/* ── Phone ───────────────────────────────────────────────────── */
@media (max-width: 719px) {
  .sv-hero { aspect-ratio: 3 / 2; }
  /* Photo strip: the wide pavilion on top, the two portraits side by side below. */
  .sv-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sv-strip .sv-mid { grid-column: 1 / -1; order: -1; height: auto; aspect-ratio: 3 / 2; }
  /* What the house holds: number + title on one line, description below. */
  .sv-holds li { gap: 6px 14px; flex-wrap: wrap; }
  .sv-holds .n { flex: 0 0 26px; }
  .sv-holds h3 { flex: 1 1 0; }
  .sv-holds p { flex: 0 0 100%; padding-left: 40px; }
  .sv-holds--method .n { flex: 0 0 48px; }
  .sv-holds--method p { padding-left: 62px; }
  /* Label above value */
  .sv-rows { grid-template-columns: 1fr; }
  .pr-feat { gap: 36px; }
  .pg-next { flex-direction: column; gap: 8px; }
  .pg-next a { text-align: left; }
}

/* Links inside running text: a 44 px touch area around the words, the underline unchanged. */
p .inline-link { position: relative; }
p .inline-link::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
