/* Mairéad Kennedy Travel
   Linen base, one green (moss), one soft band color (sea glass), one warm accent (bracken).
   Every text color pair meets WCAG AAA (7:1). */

@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/cormorant-garamond-500.woff") format("woff"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/cormorant-garamond-600.woff") format("woff"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("fonts/cormorant-garamond-500-italic.woff") format("woff"); }
@font-face { font-family: "Work Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/work-sans-400.woff") format("woff"); }
@font-face { font-family: "Work Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/work-sans-500.woff") format("woff"); }

:root {
  --linen: #EEE9DD;
  --paper: #FBF8F2;
  --linen-deep: #E2DCCD;
  --hairline: #CFC8B8;
  --ink: #2E2B27;
  --muted: #4E4B46;
  --stone: #C1BAAE;
  --moss: #3D4B39;
  --moss-deep: #2F3A2C;
  --sea-glass: #A9C3B6;
  --bracken: #674322;
  --garamond: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --radius-button: 6px;
  --radius-card: 8px;
  --pad: 28px;            /* card padding; 44px on larger screens */
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--linen); color: var(--ink); font: 17px/29px var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ol, ul, figure, blockquote { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--moss); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark a:focus-visible, .on-dark summary:focus-visible { outline-color: var(--linen); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: var(--radius-button); z-index: 10; }
.skip:focus { left: 16px; }
.wrap { width: 100%; max-width: 1216px; margin: 0 auto; padding: 0 24px; }
.sec { padding: 80px 0; }
.sec.rule { padding-top: 0; }
.sec.rule > .wrap { border-top: 1px solid var(--hairline); padding-top: 72px; }
.two { display: grid; gap: 40px; }

/* ---- type ---- */
.gar { font-family: var(--garamond); font-weight: 500; color: var(--ink); }
.eyebrow { font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--bracken); }
.h1 { font-size: 44px; line-height: 48px; margin-top: 14px; color: var(--moss); }
.h2 { font-size: 40px; line-height: 46px; }
.h4 { font-family: var(--garamond); font-weight: 600; font-size: 24px; line-height: 30px; color: var(--ink); }
.lead { font-size: 18px; line-height: 30px; }
.small { font-size: 16px; line-height: 24px; color: var(--muted); }
.intro { margin-top: 12px; max-width: 640px; }
.big { font-family: var(--garamond); font-weight: 500; font-size: 25px; line-height: 35px; margin-top: 18px; max-width: 620px; }
.h1, .h2, .h4, .close h2, .tile h2, .pname, .contact h3, .fine h3, .acc summary { text-wrap: balance; }
p, li, figcaption, .lead, .small { text-wrap: pretty; }
/* Cormorant's default numbers sit low; use full-height ones wherever numbers appear */
.gar, .h4, .tile h2, .contact h3, .acc summary, .fine h3, .big, .qs, .plain, .close h2 { font-variant-numeric: lining-nums; }

/* ---- buttons and links ---- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 16px 32px; border-radius: var(--radius-button); background: var(--moss); color: var(--linen); text-decoration: none; font: 500 17px/22px var(--sans); letter-spacing: .02em; border: 0; }
.btn:hover { background: var(--moss-deep); color: var(--linen); }
.btn.sm { min-height: 44px; padding: 10px 18px; font-size: 15px; line-height: 20px; }
.lnk { white-space: nowrap; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.lnk::after { content: " \2192"; }

/* ---- header ---- */
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; border-bottom: 1px solid var(--hairline); }
.logo { display: block; line-height: 0; }
.logo img { height: 40px; width: auto; }
.navl { display: none; }
.navl a:not(.btn) { color: var(--ink); text-decoration: none; }
.navl a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-color: var(--moss); }
.menu > summary { list-style: none; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; font-size: 15px; font-weight: 500; padding: 10px 4px; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary i { display: inline-block; width: 20px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu .panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; background: var(--linen); border-bottom: 1px solid var(--hairline); padding: 8px 24px 24px; display: grid; gap: 4px; }
.menu .panel a:not(.btn) { color: var(--ink); text-decoration: none; padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--hairline); }
.menu .panel a[aria-current="page"] { color: var(--moss); font-weight: 500; }
.menu .panel .btn { margin-top: 16px; }

/* ---- heroes ---- */
.hero { padding: 56px 0 64px; }
.hero .in { text-align: center; max-width: 820px; margin: 0 auto; }
.hero .lead { margin: 18px auto 0; max-width: 620px; }
.acts { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 28px; }
.hero .small { margin-top: 12px; }
/* Ireland: text, then one wide photo */
.hero .hero-pic { margin-top: 48px; aspect-ratio: 4 / 5; }
.hero.has-pic { padding-bottom: 0; }
.hero.has-pic .in { text-align: left; margin: 0; max-width: 760px; }
.hero.has-pic .lead { margin-left: 0; }
.hero.has-pic .acts { align-items: flex-start; }
/* Home and Pricing: text beside a photo */
.hero.split .wrap { display: grid; gap: 32px; }
.hero.split .in { text-align: left; margin: 0; }
.hero.split .lead { margin-left: 0; }
.hero.split .acts { align-items: flex-start; }
.hero.split .pic { aspect-ratio: 3 / 2; }
.home-hero { padding-bottom: 56px; }
.hero.split.home-hero .hero-me { aspect-ratio: 4 / 5; width: 100%; max-width: 440px; margin: 8px auto 0; }

/* ---- photos ---- */
.pic { width: 100%; object-fit: cover; border-radius: var(--radius-card); }
.side-pic { aspect-ratio: 4 / 5; margin-top: 28px; max-width: 420px; }

/* ---- Home: two questions ---- */
.ask .pic { aspect-ratio: 4 / 3; }
.qs { list-style: none; padding: 0; margin: 24px 0 0; max-width: 640px; }
.qs li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--hairline); }
.qs li:last-child { border-bottom: 1px solid var(--hairline); }
.qs li p { font-family: var(--garamond); font-style: italic; font-weight: 500; font-size: 27px; line-height: 36px; color: var(--moss); }
.qs + .intro { margin-top: 26px; }

/* ---- Home: what that changes ---- */
.changes { display: grid; gap: 28px; }
.plain { list-style: none; padding: 0; margin: 0; max-width: 620px; }
.plain li { font-family: var(--garamond); font-weight: 500; font-size: 22px; line-height: 32px; padding: 18px 0; border-top: 1px solid var(--hairline); }
.plain li:first-child { border-top: 0; padding-top: 0; }

/* ---- Home: trip ideas ---- */
.ideas-grid { display: grid; gap: 16px; margin-top: 28px; }
.idea { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-card); overflow: hidden; }
.idea .pic { display: block; aspect-ratio: 4 / 3; border-radius: 0; }
.idea .txt { padding: 20px 22px 24px; }
.idea p { margin-top: 6px; }
.ideas-btn { margin-top: 32px; }

/* ---- About ---- */
.about .pic { aspect-ratio: 1 / 1; }
.about p { margin-top: 14px; }
.about h2 + p { margin-top: 18px; }
.about-fig { margin: 0; }
.about-fig figcaption, .fam figcaption { margin-top: 10px; font-size: 16px; line-height: 22px; color: var(--muted); font-style: italic; }
.fam { margin: 24px 0 0; }
.fam .pic { aspect-ratio: 3 / 2; }

/* ---- cards and tiles ---- */
.card { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: var(--pad); }
.band-sea { background: var(--sea-glass); }
.band-sea .card { border-color: transparent; }
.band-sea .small, .band-sea a:not(.btn) { color: var(--ink); }
.tiles { display: grid; gap: 20px; }
.tile { --pad: 32px; padding: var(--pad); overflow: hidden; border-radius: var(--radius-card); background: var(--paper); border: 1px solid var(--hairline); }
.tile.spec { background: var(--moss); border-color: var(--moss); color: var(--linen); }
.tile.spec h2, .tile.spec a { color: var(--linen); }
.tile.spec .tpic .pic { aspect-ratio: 4 / 3; }
.tile.spec h2 { font-size: 38px; line-height: 42px; }
.tile.spec p { font-size: 18px; line-height: 30px; }
.tile h2 { font-family: var(--garamond); font-weight: 600; font-size: 32px; line-height: 36px; }
.tile p { margin-top: 10px; }
.tile .lnk { display: inline-block; margin-top: 16px; }
.tile .tile-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.tile .tile-note .lnk { margin-top: 0; white-space: nowrap; }
.tpic { position: relative; display: block; width: calc(100% + 2 * var(--pad)); max-width: none; margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 24px; }
.tpic .pic { aspect-ratio: 3 / 2; border-radius: 0; }
.tpic figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(251, 248, 242, .94); color: var(--ink); font-size: 15px; line-height: 20px; font-weight: 500; padding: 5px 12px; border-radius: 999px; }

/* ---- How it works ---- */
.how { display: grid; gap: 28px; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--hairline); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps .eyebrow { display: block; margin-bottom: 2px; }
.steps p { margin-top: 4px; }
.ic { width: 48px; height: 48px; stroke: var(--moss); fill: none; stroke-width: 1.4; display: block; }
.when { margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--hairline); max-width: 640px; }
.when strong { font-weight: 500; }

/* ---- While you travel ---- */
.travel .intro { margin-top: 18px; max-width: 520px; }
.travel-pic { aspect-ratio: 4 / 3; }

/* ---- contacts (help while you travel) ---- */
.contacts { display: grid; gap: 16px; margin-top: 28px; }
.contact { --pad: 28px; }
.contact .ic { margin-bottom: 10px; width: 44px; height: 44px; }
.contact h3 { font-family: var(--garamond); font-weight: 600; font-size: 22px; line-height: 28px; }
.contact p { margin-top: 6px; }

/* ---- closing band: the stamp, one button, one line ---- */
.close { padding: 72px 0; }
.close .wrap { text-align: center; }
.close img { width: 88px; height: auto; margin: 0 auto 22px; }
.close h2 { font-family: var(--garamond); font-weight: 500; font-size: 40px; line-height: 46px; }
.close .ctext { margin: 14px auto 0; max-width: 640px; }
.close .btn { margin-top: 4px; }
.close h2 + .btn, .close .ctext + .btn { margin-top: 28px; }
.close .small { margin-top: 14px; }

/* ---- footer ---- */
.foot { background: var(--ink); color: var(--linen); padding: 48px 0; font-size: 15px; line-height: 23px; }
.foot a { color: var(--sea-glass); }
.foot .g { display: grid; gap: 24px; }
.foot .dim { color: var(--stone); }
.foot .name { font-family: var(--garamond); font-size: 24px; font-weight: 600; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot ul a { display: inline-block; padding: 6px 0; }
.foot .credits { margin-top: 10px; font-size: 14px; line-height: 20px; }

/* ---- Ireland page ---- */
.trips { display: grid; gap: 16px; margin-top: 28px; }
.card.trip { --pad: 28px; overflow: hidden; }
.trip > .pic { display: block; aspect-ratio: 4 / 3; width: calc(100% + 2 * var(--pad)); max-width: none; margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 18px; border-radius: 0; }
.trip p { margin-top: 6px; }
.tag { display: inline-block; margin-top: 12px; padding: 4px 12px; border-radius: 999px; background: var(--sea-glass); color: var(--ink); font-size: 15px; line-height: 20px; font-weight: 500; }
.pic-it { font-family: var(--garamond); font-style: italic; font-weight: 500; font-size: 24px; line-height: 34px; color: var(--ink); max-width: 760px; margin-top: 18px; }
.strip { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
.strip picture { display: block; }
.strip .pic { aspect-ratio: 4 / 3; }
.notes p { margin-top: 14px; max-width: 520px; }

/* ---- accordion ---- */
.acc { margin-top: 28px; border-top: 1px solid var(--hairline); max-width: 820px; }
.acc details { border-bottom: 1px solid var(--hairline); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--garamond); font-weight: 600; font-size: 24px; line-height: 30px; color: var(--ink); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 26px; line-height: 30px; color: var(--moss); }
.acc details[open] summary::after { content: "\2212"; }
.acc details > div { padding: 0 0 22px; max-width: 700px; }

/* ---- Pricing page: stacked price groups (same on phones and computers) ---- */
.start { margin-top: 28px; text-align: left; }
.start .pname { font-size: 26px; line-height: 32px; }
.start p { margin-top: 6px; }
.prices { display: grid; gap: 24px; }
.prices > * { max-width: 880px; }
.pgroup > .h2 { font-size: 34px; line-height: 40px; }
.pdesc { margin-top: 12px; }
.pfull { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--hairline); }
.pfull li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: 19px; }
.pnote { margin-top: 18px; }
.pitem { padding: 22px 0 0; margin-top: 22px; border-top: 1px solid var(--hairline); }
.pgroup > .h2 + .pitem { border-top: 0; margin-top: 8px; padding-top: 8px; }
.phead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.pname { font-family: var(--garamond); font-weight: 600; font-size: 26px; line-height: 32px; color: var(--ink); font-variant-numeric: lining-nums; }
.pamt { font-family: var(--garamond); font-weight: 600; font-size: 26px; line-height: 32px; color: var(--moss); font-variant-numeric: lining-nums; }
.pitem > p { margin-top: 6px; }
.pdesc, .pnote, .pitem > p, .fine p { max-width: 640px; }
/* the free hotel booking: the easiest way in, so it gets the one soft block on the page */
.pitem.hilite { background: var(--sea-glass); border-top: 0; border-radius: var(--radius-card); margin: 22px calc(-1 * var(--pad) + 12px) 0; padding: 22px calc(var(--pad) - 12px) 24px; }
.pitem.hilite + .pitem { border-top: 0; }
.fine { background: var(--linen-deep); border-radius: var(--radius-card); padding: var(--pad); }
.fine h3 { font-family: var(--garamond); font-weight: 600; font-size: 26px; line-height: 30px; }
.fine p { margin-top: 10px; }
.pbtn .small { margin-top: 12px; }
.help-top { align-items: center; }
.help-pic { aspect-ratio: 4 / 3; max-width: 460px; }

/* ---- phones ---- */
@media (max-width: 759px) {
  .btn:not(.sm) { width: 100%; }
}

/* ---- tablets and desktops ---- */
@media (min-width: 760px) {
  :root { --pad: 44px; }
  .wrap { padding: 0 48px; }
  .sec { padding: 120px 0; }
  .sec.rule { padding-top: 0; }
  .sec.rule > .wrap { padding-top: 112px; }
  .two { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .two.about, .two.notes { align-items: start; }
  .nav { padding: 16px 48px; }
  .logo img { height: 50px; }
  .hero { padding: 96px 0; }
  .hero.has-pic { padding-bottom: 0; }
  .h1 { font-size: 56px; line-height: 60px; }
  .h2, .close h2 { font-size: 44px; line-height: 50px; }
  .acts { flex-direction: row; justify-content: center; gap: 32px; }
  .hero.has-pic .acts, .hero.split .acts { justify-content: flex-start; }
  .hero .hero-pic { aspect-ratio: 21 / 8; }
  .hero.split .wrap { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .hero.split .in { text-align: left; margin: 0; }
  .hero.split .lead { margin-left: 0; }
  .hero.split .h1 { font-size: 48px; line-height: 52px; }
  .home-hero { padding: 64px 0 72px; }
  .home-hero .wrap { grid-template-columns: 7fr 5fr; gap: 56px; }
  .home-hero .h1 { font-size: 52px; line-height: 56px; }
  .hero.split.home-hero .hero-me { margin: 0; justify-self: end; }
  .ask .pic { aspect-ratio: 4 / 5; }
  .qs li p { font-size: 32px; line-height: 42px; }
  .qs li { grid-template-columns: 48px 1fr; padding: 22px 0; }
  .changes, .how { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .travel-pic { aspect-ratio: 4 / 5; max-width: 440px; justify-self: end; }
  .plain li { font-size: 24px; line-height: 34px; padding: 22px 0; }
  .ideas-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 24px; }
  .tile { --pad: 44px; }
  .contacts { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .close { padding: 96px 0; }
  .foot .g { grid-template-columns: 2fr 1fr 2fr; }
  .trips { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .strip { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .strip .pic { aspect-ratio: 3 / 4; }
  .help-pic { justify-self: end; }
}

@media (min-width: 960px) {
  .navl { display: flex; align-items: center; gap: 28px; font-size: 16px; }
  .navl a { white-space: nowrap; }
  .menu { display: none; }
}

@media (min-width: 1080px) {
  .h1 { font-size: 68px; line-height: 70px; }
  .h2, .close h2 { font-size: 52px; line-height: 58px; }
  .hero.split .h1 { font-size: 54px; line-height: 58px; }
  .home-hero .h1 { font-size: 64px; line-height: 68px; }
  .ask .two, .ask.two { gap: 80px; }
  .ideas-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
