/* Lasyard House — website refresh preview.
   Brand kept from the current site: orange #f39912, charcoal greys #4b575f / #333, Open Sans.
   New: a display face (Outfit) for headings, warmer neutrals, bigger type, more air. */

:root {
  --orange: #f39912;
  --orange-deep: #d97f00;
  --orange-tint: #fdf1de;
  --slate: #4b575f;
  --charcoal: #262e33;
  --ink: #1d2327;
  --grey: #6f7a82;
  --line: #e4e1dc;
  --paper: #ffffff;
  --mist: #f7f5f1;
  --cafe: #3e4a3d;      /* Pantry Severn's own green, used only in the café section */
  --cafe-cream: #f1ece2;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(29, 35, 39, .08);
  --max: 1200px;
  --display: "Outfit", "Open Sans", system-ui, sans-serif;
  --body: "Open Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--charcoal); background: var(--paper); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.eyebrow { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--orange-deep); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--orange); border-radius: 2px; }
.lead { font-size: 1.2rem; color: var(--slate); max-width: 60ch; }
section { padding: clamp(64px, 9vw, 120px) 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 1.02rem; padding: 15px 26px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 8px 22px rgba(243, 153, 18, .35); }
.btn-primary:hover { background: #ffaa2b; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* Preview banner */
.preview-bar { background: var(--ink); color: #fff; font-size: .85rem; text-align: center; padding: 8px 16px; }
.preview-bar strong { color: var(--orange); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-word { font-family: "Nunito", var(--display); font-size: 1.55rem; font-weight: 600; letter-spacing: -.02em; color: var(--slate); }
.logo-word b { color: var(--orange); font-weight: 600; }
.logo-sub { font-family: var(--display); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--grey); margin-top: 4px; align-self: flex-end; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--display); font-weight: 500; text-decoration: none; padding: 10px 14px; border-radius: 999px; color: var(--charcoal); }
.nav-links a:hover, .nav-links a[aria-current] { background: var(--mist); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone { font-family: var(--display); font-weight: 600; text-decoration: none; color: var(--ink); display: inline-flex; gap: 8px; align-items: center; }
.nav-phone svg { width: 18px; color: var(--orange-deep); }
.nav-cta .btn { padding: 11px 20px; font-size: .95rem; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: end; color: #fff; padding: 0; overflow: hidden; background: #1b2226 url(media/hero-poster.jpg) center/cover; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,20,23,.15) 0%, rgba(15,20,23,.25) 45%, rgba(15,20,23,.82) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 0 0 clamp(48px, 8vw, 96px); }
.hero .eyebrow { color: #ffc56b; }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 7vw, 5.6rem); font-weight: 700; max-width: 14ch; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p { font-size: clamp(1.08rem, 1.6vw, 1.3rem); max-width: 54ch; color: rgba(255,255,255,.9); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.play { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; color: #fff; font-family: var(--display); font-weight: 600; font-size: 1rem; cursor: pointer; padding: 8px 4px; margin-left: 6px; }
.play span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.75); }
.play svg { width: 16px; margin-left: 3px; }

/* USP ribbon */
.ribbon { background: var(--orange); color: var(--ink); overflow: hidden; padding: 0; }
.ribbon-track { display: flex; gap: 48px; padding: 16px 0; width: max-content; animation: scroll 38s linear infinite; font-family: var(--display); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.ribbon-track span { display: inline-flex; align-items: center; gap: 48px; }
.ribbon-track span::after { content: "✦"; opacity: .55; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Directory callout */
.dir-callout { padding: 0; background: var(--mist); }
.dir-callout .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 30px 0; }
.dir-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--ink); color: var(--orange); display: grid; place-items: center; }
.dir-icon svg { width: 30px; }
.dir-callout h3 { margin: 0 0 4px; font-size: 1.4rem; }
.dir-callout p { margin: 0; color: var(--slate); }

/* Intro + stats */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack { position: relative; }
.photo-stack .photo:first-child { aspect-ratio: 4/3.2; }
.photo-stack .float { position: absolute; width: 46%; bottom: -36px; right: -20px; aspect-ratio: 1; border: 6px solid #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.stat { border-top: 3px solid var(--orange); padding-top: 12px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--ink); line-height: 1.1; }
.stat span { font-size: .9rem; color: var(--grey); }

/* Facilities */
.facilities { background: var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head .lead { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #fff; border-radius: var(--radius); padding: 26px 24px; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--orange-tint); color: var(--orange-deep); display: grid; place-items: center; margin-bottom: 18px; }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.card p { font-size: .94rem; color: var(--grey); margin: 0; }

/* Meeting rooms */
.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 10px; }
.room { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.room .photo { border-radius: 0; box-shadow: none; aspect-ratio: 16/10; }
.room-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.room-tag { align-self: flex-start; background: var(--ink); color: #fff; font-family: var(--display); font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.room ul { padding: 0; margin: 8px 0 18px; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.room li { background: var(--mist); border-radius: 999px; padding: 5px 12px; font-size: .88rem; }
.room .btn { margin-top: auto; align-self: flex-start; }

/* Café */
.cafe { background: var(--cafe); color: var(--cafe-cream); position: relative; overflow: hidden; }
.cafe h2, .cafe h3 { color: #fff; }
.cafe .eyebrow { color: #c8d6a2; }
.cafe .eyebrow::before { background: #c8d6a2; }
.cafe .lead { color: rgba(241,236,226,.85); }
.food-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; margin-top: 40px; }
.food-grid figure { margin: 0; border-radius: 14px; overflow: hidden; position: relative; }
.food-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.food-grid figure:hover img { transform: scale(1.05); }
.food-grid .tall { grid-row: span 2; }
.food-grid .wide { grid-column: span 2; }
.food-grid figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(30,36,30,.72); backdrop-filter: blur(4px); color: #fff; font-size: .82rem; padding: 4px 10px; border-radius: 999px; }
.grown { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; margin-top: 60px; border-radius: var(--radius); overflow: hidden; background: var(--cafe-cream); color: var(--ink); }
.grown img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.grown > div { padding: clamp(28px, 4vw, 52px); align-self: center; }
.grown h3 { color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.grown .eyebrow { color: #5d7a2e; }
.grown .eyebrow::before { background: #7fa043; }
.cafe-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.btn-cafe { background: #c8d6a2; color: var(--cafe); }
.btn-cafe-line { border-color: rgba(241,236,226,.6); color: #fff; }

/* Location */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.location-grid .photo { aspect-ratio: 4/3; }
.facts { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts svg { width: 22px; flex: none; color: var(--orange-deep); margin-top: 3px; }

/* Contact */
.contact { background: var(--ink); color: #e9ecee; }
.contact h2 { color: #fff; }
.contact .lead { color: #b9c1c6; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list a { color: #fff; text-decoration: none; font-family: var(--display); font-size: 1.25rem; font-weight: 600; }
.contact-list small { display: block; color: #8f9aa1; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
form.enquiry { background: #fff; color: var(--charcoal); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.enquiry label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
form.enquiry .full { grid-column: 1 / -1; }
form.enquiry input, form.enquiry select, form.enquiry textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--mist); }
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
form.enquiry .btn { justify-self: start; }

/* Footer */
footer { background: #141a1d; color: #8f9aa1; font-size: .88rem; padding: 48px 0 30px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; color: #c3cace; }
footer a:hover { color: var(--orange); }
.foot-base { border-top: 1px solid #263036; margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer .logo-word { color: #fff; }

/* Film modal */
dialog.film { border: 0; padding: 0; background: #000; border-radius: 14px; width: min(1100px, 94vw); overflow: hidden; }
dialog.film::backdrop { background: rgba(10,12,14,.85); }
dialog.film video { width: 100%; }
dialog.film button { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.6); color: #fff; border: 0; border-radius: 50%; width: 40px; height: 40px; font-size: 1.4rem; cursor: pointer; z-index: 2; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Directory page ---------- */
.dir-hero { background: var(--ink) url(img/aerial-30.jpg) center/cover; position: relative; color: #fff; padding: clamp(70px, 10vw, 120px) 0 clamp(50px, 7vw, 80px); }
.dir-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,26,29,.92), rgba(20,26,29,.6)); }
.dir-hero .wrap { position: relative; z-index: 1; }
.dir-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 12px; }
.dir-hero p { color: rgba(255,255,255,.85); max-width: 58ch; font-size: 1.15rem; }
.search { margin-top: 28px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 22px; max-width: 620px; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.search svg { width: 22px; color: var(--grey); flex: none; }
.search input { flex: 1; border: 0; font: inherit; font-size: 1.1rem; padding: 12px 0; outline: none; min-width: 0; }
.search .count { font-family: var(--display); font-weight: 600; font-size: .9rem; background: var(--orange-tint); color: var(--orange-deep); border-radius: 999px; padding: 10px 16px; white-space: nowrap; }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 34px 0 30px; }
.az button { font-family: var(--display); font-weight: 600; border: 1px solid var(--line); background: #fff; border-radius: 10px; min-width: 40px; height: 40px; cursor: pointer; color: var(--ink); }
.az button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.az button:disabled { opacity: .3; cursor: default; }
.companies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.co { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .2s, transform .2s; }
.co:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.co-top { display: flex; gap: 14px; align-items: center; }
.mono { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: #fff; flex: none; }
.co h3 { font-size: 1.1rem; margin: 0; }
.co .what { font-size: .85rem; color: var(--grey); }
.co-links { display: grid; gap: 8px; margin-top: auto; }
.co-links a, .co-links span { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: .95rem; padding: 10px 14px; border-radius: 12px; background: var(--mist); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-links a:hover { background: var(--orange-tint); }
.co-links svg { width: 18px; flex: none; color: var(--orange-deep); }
.co-links .via { background: none; border: 1px dashed var(--line); color: var(--grey); }
.co.reception { background: var(--orange); border-color: var(--orange); }
.co.reception h3, .co.reception p { color: var(--ink); }
.co.reception .co-links a { background: rgba(255,255,255,.7); }
.empty { padding: 40px; text-align: center; color: var(--grey); display: none; }
.note { background: var(--orange-tint); border-radius: 14px; padding: 14px 18px; font-size: .92rem; margin-bottom: 8px; }

/* Responsive */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .companies { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .nav-phone span { display: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px; }
  .menu-btn { display: block; }
  .nav-cta .btn { display: none; }
  .split, .contact-grid, .grown, .rooms, .location-grid { grid-template-columns: 1fr; }
  .photo-stack .float { right: 10px; }
  .food-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .dir-callout .wrap { grid-template-columns: 1fr; text-align: left; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .companies { grid-template-columns: 1fr; }
  form.enquiry { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .logo-sub { display: none; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .co, .food-grid img { transition: none; }
  html { scroll-behavior: auto; }
}

/* Icons drawn from <use> symbols carry no intrinsic size: without a height the browser makes
   them 150px tall. Every icon here is square. */
.nav-phone svg, .btn svg, .play svg, .dir-icon svg, .facts svg, .co-links svg, .search svg, .menu-btn svg { aspect-ratio: 1; height: auto; }
