/*
Theme Name: Roseberry Hideaway
Theme URI: https://roseberryhideaway.co.uk
Author: Roseberry Hideaway
Description: A block theme for Roseberry Hideaway — three self-catering lodges beneath Roseberry Topping, near Great Ayton. A single-page holding site: hero, the essentials, a short introduction and an enquiry form. Ink, oat and clay; Bodoni Moda display over Archivo.
Requires at least: 6.5
Tested up to: 6.6
Requires PHP: 7.4
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: roseberry-hideaway
Tags: full-site-editing, block-patterns, accommodation, one-column, custom-colors
*/

/* Only what theme.json and core blocks cannot express. */

/* The hero photograph is desaturated hard so display type sits on it cleanly. */
.rh-hero img.wp-block-cover__image-background {
  filter: saturate(0.42) contrast(1.06) brightness(0.94);
}

/* Small wide-tracked label above a heading, and the standalone eyebrow. */
.rh-kicker {
  font-size: 0.625rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin: 0;
}
.rh-kicker-wide { letter-spacing: 0.4em; }

/* The wordmark in the header and footer. */
.rh-wordmark {
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1;
  letter-spacing: 0.07em;
  margin: 0;
}
.rh-wordmark-sub {
  font-size: 0.625rem;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  margin: 0;
}

/* The four-column essentials strip: rules between, not around. */
.rh-facts { border-bottom: 1px solid var(--wp--preset--color--rule); }
.rh-facts > .wp-block-column { border-right: 1px solid var(--wp--preset--color--rule); }
.rh-facts > .wp-block-column:last-child { border-right: 0; }
@media (max-width: 781px) {
  .rh-facts > .wp-block-column {
    border-right: 0;
    border-bottom: 1px solid var(--wp--preset--color--rule);
  }
  .rh-facts > .wp-block-column:last-child { border-bottom: 0; }
}

/* Placeholder plate — delete this rule once real photography is in. */
.rh-plate {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: var(--wp--preset--spacing--40);
  background: repeating-linear-gradient(135deg,
    var(--wp--preset--color--oat-200) 0 12px,
    var(--wp--preset--color--oat-300) 12px 24px);
  color: var(--wp--preset--color--stone);
  font-size: 0.5625rem; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.8;
}

/* Enquiry form. Markup only — it does not submit anywhere. Replace with a
   form plugin's block before launch, or point the action at your handler. */
.rh-form { display: flex; flex-direction: column; gap: 1rem; }
.rh-form .rh-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rh-form input:not([type="checkbox"]),
.rh-form textarea {
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.9375rem;
  min-height: 48px;
  padding: 1rem;
  border: 1px solid var(--wp--preset--color--oat-400);
  background: var(--wp--preset--color--paper);
  color: var(--wp--preset--color--ink);
  border-radius: 0;
  width: 100%;
  box-sizing: border-box;
}
.rh-form textarea { resize: vertical; }
.rh-form input::placeholder, .rh-form textarea::placeholder { color: var(--wp--preset--color--stone); }
.rh-form :focus-visible { outline: 1px solid var(--wp--preset--color--clay); outline-offset: 2px; }
.rh-form label.rh-check {
  display: flex; align-items: center; gap: 0.7rem;
  min-height: 48px;
  font-size: 0.8125rem; line-height: 1.6;
  color: var(--wp--preset--color--stone-dark);
}
.rh-form label.rh-check input { accent-color: var(--wp--preset--color--clay); margin: 0; }
.rh-form button {
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase;
  min-height: 48px; padding: 1.2rem; margin-top: 0.4rem;
  border: 0; cursor: pointer; border-radius: 0;
  background: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--paper);
}
.rh-form button:hover { background: var(--wp--preset--color--clay); }

@media (max-width: 600px) {
  .rh-form .rh-row { grid-template-columns: 1fr; }
}
