/* kroondijk.com specific additions. The base design system is hospedes.pt's
   compiled bundle; only what is genuinely different about this site lives here. */

/* Heading sizes the compiled bundle never shipped.
   text-4xl / 5xl / 6xl exist only as sm: variants, so below 640px every heading
   using them fell back to body size. Scoped to below 640px on purpose: an
   unprefixed rule in this later stylesheet would beat the bundle's sm: variants
   and shrink headings on desktop. */
@media (max-width: 639.98px) {
  .text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .text-5xl { font-size: 3rem; line-height: 1; }
  .text-6xl { font-size: 3.75rem; line-height: 1; }
}


/* Home hero: the columns end together.
   Above 1024 the portrait card stretches to the row height and the photograph
   fills it, so the text column and the card finish within a few pixels of each
   other instead of the card hanging 150px lower. The bottom of the photograph
   fades into the card, so the crop is never a hard horizontal line. */
@media (min-width: 1024px) {
  .portrait-fill {
    height: 100%;
    display: flex;
  }
  .portrait-fill img {
    height: auto;
    min-height: 0;
    flex: 1 1 auto;
    object-fit: cover;
    object-position: top center;
  }
}

/* The audience qualifier: a left rule rather than a centred strip, so it reads as
   an aside attached to the hero and not a footnote between sections. */
.audience-note {
  border-left: 2px solid #c5a880;
  padding-left: 14px;
  line-height: 1.55;
}

/* Four facts, no adjectives: a quiet rule-separated strip rather than a grid
   of cards, so it reads as evidence and not as a feature list. */
.proof-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid #e7dfd5;
  border-bottom: 1px solid #e7dfd5;
}
.proof-strip > div {
  padding: 18px 4px;
  font-size: 13px;
  line-height: 1.5;
  color: #5a524c;
  border-bottom: 1px solid #e7dfd5;
}
.proof-strip > div:last-child { border-bottom: 0; }
@media (min-width: 768px) {
  .proof-strip { grid-template-columns: repeat(4, 1fr); }
  .proof-strip > div {
    padding: 20px 18px;
    border-bottom: 0;
    border-right: 1px solid #e7dfd5;
  }
  .proof-strip > div:last-child { border-right: 0; }
}

/* Registration form: same field language as hospedes.pt, one column. */
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #1a1815;
  margin-bottom: 6px;
}
.form-field input,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e7dfd5;
  background: #fff;
  font-size: 14px;
  color: #1a1815;
  font-family: inherit;
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: #c5a880;
}

/* Seven-section rhythm on the masterclass page. */
.spec-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid #e7dfd5;
}
.spec-row .k { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #8c827a; }
.spec-row .v { font-size: 15px; color: #1a1815; }
@media (min-width: 640px) {
  .spec-row { grid-template-columns: 200px 1fr; align-items: baseline; gap: 16px; }
}

/* Utilities the compiled bundle never shipped. Their absence is why the hero
   card grew to 900px, why sections had no padding and why every container had a
   different left edge. Values are the standard Tailwind scale. */
.max-w-sm { max-width: 24rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

/* ONE container for every page edge.
   The header already uses max-w-7xl with px-4 / sm:px-6 / lg:px-8, so every
   section now uses that same box and text is held to a reading measure inside it
   rather than by centring a narrow container. */
.prose-block > * { max-width: 48rem; }

/* Vertical rhythm. An h2 that is not the first thing in its block gets a real
   gap above it; sections already carry 4rem to 5rem of padding, so the gap
   between sections is padding plus this. */
main h2:not(:first-child) { margin-top: 3.5rem; }

/* Headings run wider than body text. The body measure stays at 48rem; an h2
   held to the same measure left a 600px void at 1920. */
.prose-block h2,
.prose-block h3 { max-width: 60rem; }

/* The hero headline breaks after its first sentence. A width cap, not a <br>:
   a hard break is what produced four ragged lines at 1280 earlier. */
.hero-h1 { max-width: 26rem; }

/* Placement utilities the bundle never shipped. Without these the portrait sat
   left-aligned inside its own grid column instead of flush to the container. */
.justify-self-end { justify-self: end; }
.justify-self-center { justify-self: center; }
@media (min-width: 1024px) {
  .lg\:justify-self-end { justify-self: end; }
}

/* The crop belongs to the page, not to the image.
   The hero section gives up its bottom padding on desktop and the copy column
   carries it instead, so the section's bottom edge is exactly the photograph's
   bottom edge. No mask: the cut coincides with a structural boundary. */
@media (min-width: 1024px) {
  .hero-bleed { padding-bottom: 0 !important; }
  .hero-copy { padding-bottom: 4rem; }
  .portrait-fill { position: relative; }
  .portrait-fill img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
}

/* A wrapper inside the prose block must not cap the heading measure, but the
   paragraph inside it still gets the 48rem reading measure. */
.prose-block > .beat { max-width: 60rem; }
.prose-block > .beat p { max-width: 48rem; }

/* /about: the source is a portrait (520x654) and cover in a short box crops it to
   the head, which is narrower than the shoulders. Show it at its own aspect so the
   figure reaches the container edge and the bottom edge is the section edge. */
@media (min-width: 1024px) {
  .portrait-natural { height: auto !important; }
  .portrait-natural img {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

/* ---------------------------------------------------------------- homepage v2 --
   Homepage restructure. Every class used in the markup is defined here, because
   the bundle silently ignores utilities it never shipped (see
   docs/known-absent-utilities.md). */

.artefact-column { width: 100%; max-width: 40rem; justify-self: center; }
@media (min-width: 1024px) { .artefact-column { justify-self: end; } }
.artefact-img { display: block; width: 100%; height: auto; border: 1px solid #e7dfd5;
  border-radius: 10px; box-shadow: 0 12px 32px rgba(26, 24, 21, .07); }
.artefact-caption { margin-top: .85rem; font-size: .75rem; line-height: 1.55; color: #8c827a; }

.trust-section { border-top: 1px solid #e7dfd5; border-bottom: 1px solid #e7dfd5; }
.trust-strip { display: grid; grid-template-columns: 1fr; gap: 1px; background: #e7dfd5; }
@media (min-width: 640px) { .trust-strip { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }
.trust-item { background: #ffffff; padding: 30px 26px; }
.trust-k { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; color: #1a1815; line-height: 1.1; }
.trust-q { margin-top: 8px; font-size: .875rem; line-height: 1.5; color: #5a524c; }

.section-head { max-width: 60rem; margin-bottom: 2.5rem; }
.module-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: #e7dfd5;
  border: 1px solid #e7dfd5; border-radius: 8px; overflow: hidden; }
@media (min-width: 640px) { .module-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .module-grid { grid-template-columns: repeat(3, 1fr); } }
.module { background: #ffffff; padding: 30px 28px; }
.module-n { font-size: .78rem; letter-spacing: .16em; font-weight: 600; color: #c5a880; }
.module-title { margin-top: 12px; font-family: 'Playfair Display', Georgia, serif; font-size: 1.3rem;
  line-height: 1.2; color: #1a1815; }
.module-line { margin-top: 9px; font-size: .9375rem; line-height: 1.55; color: #5a524c; }
.module-n-inline { color: #c5a880; font-weight: 600; margin-right: .4rem; }

.price-block { margin-top: 2.5rem; }
.price-line { font-size: 1.4rem; line-height: 1.35; font-weight: 500; color: #1a1815; max-width: 40rem; }
.price-note { margin: .55rem 0 1.75rem; font-size: .95rem; color: #5a524c; }

.session-card { display: grid; grid-template-columns: 1fr; gap: 1px; background: #e7dfd5;
  border: 1px solid #e7dfd5; border-radius: 10px; overflow: hidden; }
@media (min-width: 900px) { .session-card { grid-template-columns: 1.7fr 1fr; } }
.session-main { background: #ffffff; padding: 38px 34px; }
.session-side { background: #fbf9f5; padding: 32px 28px; }
.session-side-title { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 600; color: #8c827a; margin-bottom: 6px; }
.session-entry { padding: 14px 0; border-top: 1px solid #e7dfd5; }
.session-entry:first-of-type { border-top: none; }
.session-date { font-size: .9375rem; font-weight: 600; color: #1a1815; }
.session-time { margin-top: 4px; font-size: .85rem; color: #5a524c; }
.date-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 26px; }
.date-pill { display: inline-block; padding: 9px 17px; border: 1px solid #e7dfd5; border-radius: 999px;
  background: #fbf9f5; font-size: .85rem; color: #1a1815; }

.about-block { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .about-block { grid-template-columns: 1fr 340px; gap: 3.5rem; } }
.about-portrait { width: 100%; max-width: 340px; height: auto; justify-self: start; border-radius: 10px; }
@media (min-width: 900px) { .about-portrait { justify-self: end; } }
.about-lead { font-size: 1.125rem; line-height: 1.65; color: #5a524c; font-weight: 300; }
.about-cred { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 26px; }
@media (min-width: 640px) { .about-cred { grid-template-columns: 1fr 1fr; } }
.about-cred > div { position: relative; padding-left: 18px; font-size: .875rem; line-height: 1.5; color: #5a524c; }
.about-cred > div:before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px;
  border-radius: 50%; background: #c5a880; }
.about-link { margin-top: 22px; font-size: .9rem; }
.about-link a { color: #c5a880; font-weight: 500; }

.dark-band { background: #1a1815; color: #fbf9f5; }
.band-inner { max-width: 44rem; margin: 0 auto; padding: 72px 24px; text-align: center; }
.dark-band h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 400; font-size: 1.9rem;
  line-height: 1.25; color: #fbf9f5; margin-bottom: 14px; }
.dark-band p { color: #d6cfc6; line-height: 1.65; margin-bottom: 28px; }
.btn-on-dark { display: inline-block; padding: 13px 28px; border: 1px solid #c5a880; border-radius: 8px;
  font-size: .875rem; font-weight: 600; color: #fbf9f5; transition: all .2s; }
.btn-on-dark:hover { background: #c5a880; color: #1a1815; }

/* Three-cohort price ladder: hairline columns, not cards, so it reads as a table
   of terms rather than three offers. */
.price-lead { font-size: 1.05rem; color: #5a524c; margin-bottom: 1.6rem; }
.price-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: #e7dfd5;
  border: 1px solid #e7dfd5; border-radius: 8px; overflow: hidden; }
@media (min-width: 640px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-col { background: #ffffff; padding: 26px 24px 24px; }
.price-kicker { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: #c5a880; }
.price-amount { margin-top: 10px; font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem; line-height: 1.1; color: #1a1815; }
.price-terms { margin-top: 8px; font-size: .875rem; color: #5a524c; }

/* The honest mechanism under the ladder: it rises twice, then stops. */
.price-mechanism { margin: 0 0 1.75rem; font-size: .95rem; color: #5a524c; }

/* /about hero uses the same photograph and treatment as the homepage about block. */
.about-hero-photo { width: 100%; max-width: 340px; justify-self: center; }
.about-hero-photo img { display: block; width: 100%; height: auto; border-radius: 10px; }
@media (min-width: 1024px) { .about-hero-photo { justify-self: end; } }

/* /masterclass shared home's left edge but not its right: every block sat inside the
   48rem reading measure, leaving 433 to 448px of empty container. Section heads go
   two-column and the three table blocks span, while body text keeps its measure. */
@media (min-width: 1024px) {
  .prose-block > .sec-head-2 { max-width: none; margin-bottom: 2rem; display: grid; grid-template-columns: 1fr 1fr;
    gap: 3rem; align-items: start; }
  .prose-block > .sec-head-2 > h2 { margin-bottom: 0; }
  .prose-block > .sec-head-2 > p { margin-bottom: 0; max-width: 38rem; }
  .prose-block > .span-wide { max-width: none; }
  .spec-row { grid-template-columns: 220px 1fr; }
}

/* /about closes with a rule. It was drawn at the reading measure, so it stopped
   448px short of the container while every other rule on the site is either
   full-bleed or a component edge. The rule spans, the sentence keeps its measure. */
@media (min-width: 1024px) {
  .prose-block > .beat-rule { max-width: none; }
  .prose-block > .beat-rule > p { max-width: 48rem; }
}

/* The price CTA is an anchor. As a direct child of the block it computed as
   display:inline, so its vertical padding drew over the grid above it and the
   small print below. A block wrapper gives it real space and a block context. */
.price-cta { margin: 2rem 0 2.25rem; }
.price-cta > a { display: inline-block; }

/* /about hero: four lines of text against a tall photograph read as an empty left
   column. The band height is shared, so the text block and the portrait meet the
   same top and bottom edge instead of one floating beside the other. */
.about-hero { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.about-hero-para { font-size: 1.125rem; line-height: 1.7; color: #5a524c; font-weight: 300; max-width: 34rem; }
@media (min-width: 1024px) {
  .about-hero { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: stretch; }
  .about-hero-text { display: flex; flex-direction: column; justify-content: center; }
  .about-hero-photo { min-height: 0; display: flex; justify-content: flex-end; align-items: stretch; }
  .about-hero-photo img { height: 100%; width: auto; max-width: 100%; object-fit: contain;
    object-position: right center; border-radius: 10px; }
}

/* Track record: prose at the reading measure, spaced as paragraphs, no beat headings. */
.prose-block > .about-p { max-width: 48rem; margin-bottom: 1.5rem; color: #5a524c; line-height: 1.75; }
.prose-block > .about-p:last-child { margin-bottom: 0; }

/* Contact: supplied verbatim, one line per item, the address never split. */
.contact-block { display: flex; flex-direction: column; gap: 6px; font-size: .95rem; color: #5a524c; }
.contact-block .contact-email { color: #c5a880; font-weight: 500; text-decoration: none; }
.contact-block .contact-email:hover { text-decoration: underline; }
.contact-block .contact-name { color: #1a1815; font-weight: 500; }

/* The contact block sits under the footer row, centred, one item per line. */
.footer-contact { display: flex; flex-direction: column; margin: 1.75rem 0 0; padding-top: 1.5rem;
  border-top: 1px solid #e7dfd5; align-items: flex-start; text-align: left; }
.footer-contact span, .footer-contact a { display: block; }

/* Invoice line and reservation form in the price block. */
.price-invoice { font-size: .9rem; color: #5a524c; margin: 0 0 1.75rem; max-width: 48rem; }
.reserve { margin-top: .5rem; margin-bottom: 2rem; }
.reserve > summary { cursor: pointer; font-weight: 600; font-size: .95rem; color: #1a1815;
  list-style: none; display: inline-flex; align-items: center; gap: .5rem; }
.reserve > summary::-webkit-details-marker { display: none; }
.reserve > summary:after { content: "+"; color: #c5a880; font-weight: 600; }
.reserve[open] > summary:after { content: "2"; }
.reserve form { margin-top: 1.25rem; max-width: 26rem; }
.reserve .btn-filled { margin-top: .25rem; }
/* /about: label-and-prose rows. Same shape as the Format table on /masterclass, so
   the container is used across its width without widening the reading measure. */
.about-hero-row, .about-row { display: grid; grid-template-columns: 1fr; gap: .4rem;
  padding: 1.75rem 0; border-bottom: 1px solid #e7dfd5; }
.about-hero-row { padding-top: 0; }
.about-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  color: #8c827a; padding-top: .4rem; }
.about-name { font-family: "Playfair Display", Georgia, serif; font-size: 2.5rem; line-height: 1.1;
  font-weight: 400; color: #1a1815; }
.about-hero-text { display: flex; flex-direction: column; gap: .5rem; }
.about-hero-photo { width: 100%; max-width: 260px; }
.about-hero-photo img { display: block; width: 100%; height: auto; border-radius: 10px; }
.about-prose p { max-width: 48rem; color: #5a524c; line-height: 1.75; font-size: 1.0625rem; margin: 0 0 1.25rem; }
.about-prose p:last-child { margin-bottom: 0; }
@media (min-width: 1024px) {
  .about-hero-row, .about-row { grid-template-columns: 220px 1fr; gap: 2.5rem;
    align-items: start; padding: 2rem 0; }
  .about-hero-row { padding-top: 0; grid-template-columns: 1fr 320px; align-items: start; }
  .about-hero-photo { width: 320px; max-width: 320px; flex: 0 0 320px; }
}
