/* Modrotiskový Ateliér — test web */

/* Typography follows the printed brochures: Wellfleet for display titles, Montserrat for everything else. */
@font-face { font-family: "Wellfleet"; src: url(fonts/Wellfleet-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/Montserrat-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/Montserrat-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/Montserrat-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/Montserrat-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--navy: #14285c;
	--navy-dark: #0e1d45;
	--ink: #1b2a4a;
	--cream: #f4efe4;
	--paper: #faf6ee;
	--line: #e3dccb;
	--text: #2d3345;
	--serif: "Wellfleet", Georgia, serif;
	--sans: "Montserrat", "Segoe UI", Helvetica, Arial, sans-serif;
	--wrap: 1180px;
	--radius: 8px;
	--shadow: 0 6px 22px rgba(20, 40, 92, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--text);
	font: 400 15px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h3 { font-family: var(--sans); font-weight: 600; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); display: flex; align-items: center; gap: .6rem; }
.title img { width: 26px; opacity: .8; }
.title--center { justify-content: center; text-align: center; }

.btn {
	display: inline-block;
	padding: .8rem 1.4rem;
	font: 600 .9rem var(--sans); letter-spacing: .02em;
	text-decoration: none;
	border-radius: 3px;
	transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn--navy:hover { background: var(--navy-dark); }
.btn--light { background: var(--paper); color: var(--navy); }
.btn--small { padding: .55rem 1rem; font-size: .85rem; }
.btn--outline { border: 1px solid var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-light { border: 1px solid rgba(255,255,255,.75); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); }

/* ---------- header ---------- */
.topbar {
	position: sticky; top: 0; z-index: 50;
	background: var(--navy);
	border-bottom: 3px double rgba(255,255,255,.18);
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand__sub { font-size: .78em; opacity: .9; }
.brand__logo { height: 64px; width: auto; margin-block: 4px; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font: 400 1.4rem/1.05 var(--serif); letter-spacing: .01em; }
.menu { display: flex; gap: 2rem; }
.menu a { color: #fff; text-decoration: none; font: 500 .95rem var(--sans); padding: .3rem 0; border-bottom: 1px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { border-color: rgba(255,255,255,.6); }
.menu__group { position: relative; }
.menu__group > a { display: block; }
.menu__group.is-here > a { border-color: rgba(255,255,255,.6); }
.menu__caret { font-size: .7em; opacity: .7; }
.menu__sub { display: none; position: absolute; top: 100%; left: -1rem; z-index: 20; min-width: 15rem; padding: .6rem 0; background: var(--navy); border: 1px solid rgba(255,255,255,.15); border-radius: 0 0 8px 8px; box-shadow: 0 12px 28px rgba(10,20,50,.35); }
.menu__sub a { display: block; padding: .5rem 1rem; border: 0; font-size: .9rem; white-space: nowrap; }
.menu__sub a:hover, .menu__sub a[aria-current="page"] { background: rgba(255,255,255,.1); }
.menu__group:hover .menu__sub, .menu__group:focus-within .menu__sub { display: block; }
.navtoggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.navtoggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }
.navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
	position: relative;
	min-height: clamp(460px, 62vh, 620px);
	display: flex; align-items: center;
	background: radial-gradient(circle at 20% 30%, var(--navy) 0%, var(--navy-dark) 75%);
	color: #fff;
	overflow: hidden;
}
.hero::after {
	content: "";
	position: absolute; inset: 0 0 0 auto;
	width: 60%;
	background: url(img/hero.jpg) center 55% / cover no-repeat;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.hero__in { position: relative; z-index: 1; padding-block: 4rem; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 1.1; text-shadow: 0 2px 18px rgba(0,0,0,.3); }
.hero .ornament { width: 28px; margin: 1.3rem 0 1rem; opacity: .85; }
.hero p { max-width: 30rem; font-size: 1.08rem; margin: 0 0 1.8rem; color: rgba(255,255,255,.92); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- 3 cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; padding-block: 2.2rem; }
.card {
	display: grid; grid-template-columns: 1fr 44%;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	text-decoration: none; color: inherit;
	transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(20,40,92,.16); }
.card__text { padding: 1.3rem 1.2rem; }
.card h2 { font-size: 1.2rem; display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.card p { margin: 0; font-size: .88rem; }
.card img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; }
.icon { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }

/* ---------- story ---------- */
.story {
	display: grid; grid-template-columns: 36% 1fr 22%;
	align-items: center;
	background: var(--paper);
	border-block: 1px solid var(--line);
}
.story__photo { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.story__text { padding: 2.5rem 2.8rem; }
.story__text p { margin: 1rem 0 1.2rem; max-width: 40rem; }
.more { font: 600 .92rem var(--sans); text-decoration: none; }
.more:hover { text-decoration: underline; }
.story__flower { width: 60%; max-width: 170px; margin: auto; opacity: .18; }

/* ---------- steps ---------- */
.steps { padding-block: 3rem; }
.steps__in { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: center; }
.steps__head .ornament { width: 28px; margin-top: 1rem; opacity: .8; }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem; counter-reset: step; }
.steps__list li { position: relative; text-align: center; counter-increment: step; }
.steps__list li::before {
	content: counter(step);
	position: absolute; top: -10px; left: 6px; z-index: 1;
	width: 30px; height: 30px; border-radius: 50%;
	background: var(--navy); color: #fff;
	font: 600 .9rem/30px var(--sans);
}
.steps__list li:not(:last-child)::after {
	content: "→";
	position: absolute; top: 52px; right: -1.75rem;
	color: var(--navy); font: 400 1.9rem/1 Georgia, serif; opacity: .7;
}
.steps__list img { width: 120px; height: 120px; object-fit: cover; margin: 0 auto .8rem; border-radius: 50%; border: 3px solid var(--paper); box-shadow: var(--shadow); }
.steps__list h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .3rem; }
.steps__list p { margin: 0; font-size: .86rem; }

/* ---------- workshops ---------- */
.workshops { padding-block: 1rem 3rem; }
.ws-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 1.6rem; }
.ws {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	text-align: center;
	padding-bottom: 1.2rem;
	display: flex; flex-direction: column;
}
.ws img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ws h3 { font-size: 1.3rem; margin: 1rem .8rem .5rem; }
.ws p { margin: 0 1.1rem; font-size: .87rem; }
a.ws { text-decoration: none; color: inherit; transition: transform .2s; }
a.ws:hover { transform: translateY(-3px); }
.ws .more { margin-top: auto; padding-top: .8rem; }
.steps__head .more { display: inline-block; margin-top: 1rem; }
.ws .meta { margin-top: auto; padding-top: .8rem; font-size: .78rem; font-weight: 600; color: var(--navy); letter-spacing: .02em; }
.tag { display: inline-block; vertical-align: middle; font: 600 .65rem var(--sans); text-transform: uppercase; letter-spacing: .08em; background: var(--navy); color: #fff; padding: .2rem .45rem; border-radius: 3px; }
.ws-note { text-align: center; margin: 2rem auto 0; max-width: 42rem; }

/* ---------- family ---------- */
.family { background: var(--paper); border-block: 1px solid var(--line); padding-block: 3rem; }
.family__lead { text-align: center; max-width: 44rem; margin: 1rem auto 2.2rem; }
.gens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.gens figure { margin: 0; text-align: center; }
.gens img { width: 170px; height: 170px; object-fit: cover; border-radius: 50%; margin: 0 auto 1rem; box-shadow: var(--shadow); }
.gens img[src*="gen1"] { filter: grayscale(1); }
.gens figcaption { font-size: .88rem; }
.gens strong { display: block; font: 600 1.1rem var(--sans); color: var(--navy); }
.gens figcaption span { display: block; font-style: italic; color: #6a7189; margin-bottom: .5rem; }
.family__note { text-align: center; font-style: italic; color: var(--navy); margin: 2.2rem 0 0; }

/* ---------- photo row, numbered list, intro ---------- */
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--navy); }
.photo-row img { width: 100%; height: 280px; object-fit: cover; }
.numbered { padding-left: 1.3rem; margin: 1rem 0; }
.numbered li { margin: .4rem 0; }
.intro { padding-block: 3rem 0; text-align: center; }
.outro { margin-top: 2rem; text-align: center; }
.timeline .tl-name { font-weight: 600; color: var(--navy); }
.split__fig { margin: 0; }
.split__pair { display: grid; gap: 12px; }
.split__pair img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split .split__img--plain { box-shadow: none; border-radius: 0; object-fit: contain; }
.split__fig figcaption { font-size: .8rem; font-style: italic; color: #6a7189; margin-top: .5rem; text-align: center; }
.sources__list { list-style: none; padding: 0; margin: 1.4rem 0 3rem; text-align: left; }
.sources__list li { padding: .7rem 0; border-bottom: 1px solid var(--line); }
.sources__list small { color: #6a7189; }
.btn-row { text-align: center; padding-block: 1rem 3.4rem; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr) .7fr; gap: 4px; background: var(--navy); }
.gallery img { width: 100%; height: 190px; object-fit: cover; }
.gallery__flower { display: grid; place-items: center; }
.gallery__flower img { width: 70%; height: auto; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.88); border-top: 3px double rgba(255,255,255,.2); }
.footer__in { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr .9fr; gap: 2.2rem; padding-block: 2.6rem; align-items: center; }
.footer h2 { color: #fff; font-size: 1.9rem; text-align: center; }
.footer__visit img { width: 170px; margin: 1.2rem auto 0; }
.map {
	display: grid; justify-items: center; align-content: center; gap: .15rem;
	min-height: 180px; padding: 1rem;
	border-radius: 6px;
	background:
		linear-gradient(115deg, transparent 47%, #9fb7d6 47.5%, #9fb7d6 50%, transparent 50.5%),
		repeating-linear-gradient(25deg, transparent 0 34px, rgba(255,255,255,.7) 34px 37px),
		repeating-linear-gradient(-65deg, transparent 0 46px, rgba(255,255,255,.7) 46px 49px),
		#e8e0cd;
	color: var(--ink); text-decoration: none;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.map__pin svg { width: 34px; height: 34px; fill: var(--navy); }
.map strong { font: 400 1.25rem var(--serif); }
.map span { font-size: .85rem; }
.map em { margin-top: .4rem; font-size: .8rem; font-style: normal; font-weight: 600; color: var(--navy); }
.contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; font-size: .92rem; }
.contact li { display: flex; gap: .8rem; align-items: flex-start; }
.contact svg { flex: none; width: 19px; height: 19px; fill: currentColor; margin-top: .15rem; }
.contact a { color: #fff; text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.footer__social { border-left: 1px solid rgba(255,255,255,.2); padding-left: 1.8rem; }
.footer__social h3 { color: #fff; font-size: 1.05rem; margin-bottom: .7rem; }
.social { display: flex; gap: .8rem; margin-bottom: 1.3rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; }
.social a:hover { background: rgba(255,255,255,.12); }
.social svg { width: 18px; fill: #fff; }
.footer__bar {
	border-top: 1px solid rgba(255,255,255,.15);
	background: url(img/bordura.png) center / auto 150% repeat-x, var(--navy-dark);
	background-blend-mode: soft-light, normal;
	font-size: .82rem;
}
.footer__bar-in { display: flex; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.motto { font: 400 1.05rem var(--serif); color: #fff; letter-spacing: .02em; }


/* ---------- subpages ---------- */
.pagehead {
	background:
		linear-gradient(90deg, rgba(14,29,69,.9) 0%, rgba(14,29,69,.7) 50%, rgba(14,29,69,.35) 100%),
		var(--bg) var(--bg-pos, center) / cover no-repeat;
	color: #fff;
	padding-block: 3.2rem 3.6rem;
}
.pagehead h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); text-transform: uppercase; letter-spacing: .04em; }
.pagehead .ornament { width: 26px; margin: 1rem 0; opacity: .85; }
.pagehead p { max-width: 38rem; margin: 0; font-size: 1.05rem; color: rgba(255,255,255,.92); }
.crumbs { font-size: .8rem; margin-bottom: 1.2rem; color: rgba(255,255,255,.75); }
.crumbs a { color: #fff; }

.narrow { max-width: 780px; }
.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--ink); }
.prose p { margin: 1rem 0; }
.prose--narrow { max-width: 46rem; margin-inline: auto; }
.prose .title { margin-bottom: .4rem; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding-block: 3.5rem; }
.split--rev .split__img { order: -1; }
.split__img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

.band { background: var(--paper); border-block: 1px solid var(--line); padding-block: 3rem; }
.band .center { margin-top: 1rem; }

.timeline { list-style: none; margin: 2rem auto 0; padding: 0; max-width: 760px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 118px; top: .4rem; bottom: .4rem; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 100px 1fr; gap: 2.6rem; padding-bottom: 1.4rem; position: relative; align-items: baseline; }
.timeline strong, .timeline p { line-height: 1.6; }
.timeline li::before { content: ""; position: absolute; left: 112px; top: .2rem; width: 14px; height: 14px; border-radius: 50%; background: var(--navy); border: 3px solid var(--paper); }
.timeline strong { font: 700 .95rem/1.6 var(--sans); color: var(--navy); text-align: right; }
.timeline p { margin: 0; }
.timeline--years::before { left: 148px; }
.timeline--years li { grid-template-columns: 130px 1fr; }
.timeline--years li::before { left: 142px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; margin-top: 2rem; }
.features--3 { grid-template-columns: repeat(3, 1fr); }
.features--2 { grid-template-columns: repeat(2, 1fr); max-width: 52rem; margin-inline: auto; }
.features > div { background: var(--cream); border-top: 3px solid var(--navy); padding: 1.3rem 1.2rem; border-radius: 0 0 var(--radius) var(--radius); }
.features h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.features p { margin: 0; font-size: .9rem; }

.gen { display: grid; grid-template-columns: 220px 1fr; gap: 2.4rem; align-items: start; max-width: 960px; margin: 2.6rem auto 0; }
.gen--rev { grid-template-columns: 1fr 220px; }
.gen--rev img { order: 2; }
.gen img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); }
.gen img[src*="gen1"] { filter: grayscale(1); }
.gen h3 { font-size: 1.6rem; }
.gen h3 span { font: italic 400 .95rem var(--sans); color: #6a7189; margin-left: .4rem; }
.gen p { margin: .8rem 0 0; }
.wide-photo { max-width: 960px; margin: 2.6rem auto 0; }
.wrap > .wide-photo:last-child { margin-bottom: 3rem; }
.wide-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); filter: sepia(.25); }
.wide-photo--color img { filter: none; }
.wide-photo figcaption { text-align: center; font-size: .82rem; font-style: italic; color: #6a7189; margin-top: .6rem; }

.ws-list { padding-block: 3rem; display: grid; gap: 2.4rem; }
.wsd { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 90px; }
.wsd--rev img { order: 2; }
.wsd img { width: 100%; height: 100%; min-height: 280px; max-height: 380px; object-fit: cover; }
.wsd__body { padding: 2rem 2.2rem; align-self: center; }
.wsd h2 { font-size: 1.9rem; margin-bottom: .8rem; }
.wsd p { margin: 0 0 1rem; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.facts li { font-size: .82rem; font-weight: 600; color: var(--navy); background: var(--cream); border: 1px solid var(--line); border-radius: 20px; padding: .3rem .8rem; }

.process { padding-block: 3rem; display: grid; gap: 1.6rem; max-width: 980px; }
.process > .title { margin-bottom: .6rem; }
.pstep { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.pstep--text { grid-template-columns: 1fr; padding: 1.4rem 1.6rem 1.4rem 4.6rem; }
.pstep img { width: 200px; height: 160px; object-fit: cover; border-radius: 6px; }
.pstep img.pstep__img--contain { object-fit: contain; }
.pstep h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.pstep p { margin: 0; font-size: .93rem; }
.pstep p + p { margin-top: .7rem; }
.pstep__n { position: absolute; top: -12px; left: -12px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 600 1rem var(--sans); box-shadow: var(--shadow); }
.pstep--text .pstep__n { top: 1.4rem; left: 1.4rem; }

.quote { background: var(--navy); padding-block: 3.2rem; }
.quote blockquote { margin: 0 auto; text-align: center; color: #fff; font: 400 clamp(1.3rem, 2.4vw, 1.7rem)/1.5 var(--serif); }
.quote blockquote::before { content: "“"; display: block; font-size: 3.5rem; line-height: .6; opacity: .5; }

.cta { background: var(--navy-dark); color: #fff; padding-block: 2.4rem; border-top: 1px solid rgba(255,255,255,.12); }
.cta__in { display: flex; align-items: center; gap: 1.6rem; }
.cta__in > div { flex: 1; }
.cta h2 { color: #fff; font-size: 1.6rem; }
.cta p { margin: .3rem 0 0; color: rgba(255,255,255,.85); }

.contact-page { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.4rem; padding-block: 3rem; align-items: stretch; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; scroll-margin-top: 90px; }
.contact-card .title { font-size: 1.6rem; margin-bottom: 1.3rem; }
.contact-card .contact { color: var(--text); font-size: 1rem; }
.contact-card .contact a { color: var(--navy); }
.contact-card .contact svg { fill: var(--navy); }
.owner { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; margin-bottom: 1rem; }
.owner .title { font-size: 1.6rem; margin-bottom: 1rem; }
.owner__list { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.6rem; margin: 0; }
.owner__list dt { font-weight: 600; color: var(--navy); }
.owner__list dd { margin: 0; }
.nowrap { white-space: nowrap; }
.owner__note { font-size: .85rem; color: #6a7189; margin: 1.2rem 0 0; }
.contact-card__book { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.contact-card__book h3 { font-size: 1.2rem; }
.contact-card__book p { margin: .5rem 0 1.1rem; font-size: .92rem; }
.social--dark { margin: 1.6rem 0 0; }
.social--dark a { border-color: var(--navy); }
.social--dark a:hover { background: var(--cream); }
.social--dark svg { fill: var(--navy); }
.mapbox { display: flex; flex-direction: column; scroll-margin-top: 90px; }
.mapbox iframe { flex: 1; width: 100%; min-height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.mapbox__links { display: flex; gap: 1.4rem; margin: .8rem 0 0; font-size: .88rem; font-weight: 600; }

.notfound { text-align: center; padding-block: 5rem; display: grid; justify-items: center; gap: 1rem; }
.notfound h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.notfound img { opacity: .8; }


/* ---------- inquiry form ---------- */
.wsd .btn { margin-top: 1.2rem; }
.inquiry { padding-block: 3.5rem 4rem; scroll-margin-top: 76px; }
.inquiry__card {
	display: grid; grid-template-columns: minmax(260px, .75fr) 1.6fr;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: 0 18px 50px rgba(20, 40, 92, .12);
	overflow: hidden;
}
.inquiry__aside {
	position: relative;
	display: flex; flex-direction: column;
	padding: 2.4rem 2rem;
	color: rgba(255,255,255,.9);
	background:
		linear-gradient(180deg, rgba(14,29,69,.55) 0%, rgba(14,29,69,.92) 70%),
		url(img/pap-detail.jpg) center / cover;
}
.inquiry__flower { width: 40px; opacity: .9; margin-bottom: 1.2rem; }
.inquiry__aside h2 { color: #fff; font-size: 2rem; }
.inquiry__aside p { margin: 1rem 0 0; font-size: .95rem; }
.inquiry__phone { margin-top: auto; padding-top: 2rem; display: grid; gap: .15rem; }
.inquiry__phone span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; opacity: .75; }
.inquiry__phone a { color: #fff; text-decoration: none; font: 400 1.5rem var(--serif); }

.form { padding: 2.2rem 2.4rem 2.4rem; display: grid; gap: 1.6rem; }
.form__group { border: 0; margin: 0; padding: 0; }
.form__group legend, .field > span {
	display: block;
	font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
	color: #6a7189;
}
.form__group legend { margin-bottom: .8rem; }
.field > span em { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; color: #a0a5b5; margin-left: .3rem; }

.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__box {
	display: grid; gap: .15rem; height: 100%;
	padding: .75rem .9rem;
	border: 1px solid var(--line); border-radius: 8px;
	background: var(--paper);
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.choice__box strong { font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.choice__box small { font-size: .75rem; color: #7c8296; }
.choice:hover .choice__box { border-color: #b9c3d8; }
.choice input:checked + .choice__box { border-color: var(--navy); background: #eef2f9; box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:checked + .choice__box strong { color: var(--navy); }
.choice input:focus-visible + .choice__box { outline: 2px solid #9fb7d6; outline-offset: 2px; }

.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem 1.2rem; }
.field { display: grid; gap: .4rem; }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea {
	width: 100%;
	font: 400 .95rem var(--sans); color: var(--text);
	background: #fff;
	border: 1px solid var(--line); border-radius: 8px;
	padding: .7rem .85rem;
	transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: #b0b4c0; }
.field input:hover, .field textarea:hover { border-color: #c9cfdc; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20,40,92,.12); }


/* numbered steps in the form */
.step { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .68rem; margin-right: .4rem; letter-spacing: 0; vertical-align: 1px; }

.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.form__submit { padding: .9rem 1.8rem; font-size: .95rem; border-radius: 6px; }
.form__foot small { font-size: .78rem; color: #8a8fa0; }
.form__msg { margin: 0; padding: .8rem 1rem; border-radius: 8px; font-size: .88rem; background: #fbeae7; color: #7a1f12; border: 1px solid #f0c9c2; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
	.menu { gap: 1.2rem; }
	.cards, .ws-grid { grid-template-columns: repeat(2, 1fr); }
	.cards .card:last-child { grid-column: 1 / -1; }
	.story { grid-template-columns: 42% 1fr; }
	.story__flower { display: none; }
	.steps__in { grid-template-columns: 1fr; }
	.steps__head { text-align: center; }
	.steps__head .title { justify-content: center; }
	.steps__head .ornament { margin-inline: auto; }
	.gallery { grid-template-columns: repeat(3, 1fr); }
	.gallery__flower { display: none; }
	.footer__in { grid-template-columns: 1fr 1fr; }
	.footer__social { border-left: 0; padding-left: 0; }
	.features { grid-template-columns: repeat(2, 1fr); }
	.contact-page { grid-template-columns: 1fr; }
	.inquiry__card { grid-template-columns: 1fr; }
	.inquiry__aside { padding: 2rem 1.6rem; }
	.inquiry__phone { padding-top: 1.4rem; }
}
@media (max-width: 960px) {
	.navtoggle { display: block; }
	.menu {
		display: none;
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; gap: 0;
		background: var(--navy);
		border-bottom: 3px double rgba(255,255,255,.18);
		padding: .5rem 16px 1rem;
	}
	.menu.is-open { display: flex; }
	.menu a { padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
	.menu__group > a { display: block; }
	.menu__caret { display: none; }
	.menu__sub { display: block; position: static; min-width: 0; padding: 0 0 .3rem 1rem; background: none; border: 0; box-shadow: none; }
	.menu__sub a { padding: .55rem 0; font-size: .88rem; white-space: normal; border-bottom: 1px solid rgba(255,255,255,.06); }
	.menu__sub a:hover, .menu__sub a[aria-current="page"] { background: none; text-decoration: underline; }
	.menu__group.is-here > a { border-color: rgba(255,255,255,.1); }
	.menu { max-height: calc(100vh - 76px); overflow-y: auto; }
}
@media (max-width: 820px) {
	.hero::after { width: 100%; opacity: .35; -webkit-mask-image: none; mask-image: none; }
	.hero .ornament { margin-left: 0; }
	.cards, .ws-grid, .gens { grid-template-columns: 1fr; }
	.story { grid-template-columns: 1fr; }
	.story__photo { min-height: 220px; max-height: 280px; }
	.story__text { padding: 2rem 16px; }
	.steps__list { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
	.steps__list li::after { display: none; }
	.gallery img { height: 130px; }
	.photo-row { grid-template-columns: 1fr; }
	.photo-row img { height: 150px; }
	.features--2 { grid-template-columns: 1fr; }
	.footer__in { grid-template-columns: 1fr; text-align: left; }
	.footer__bar-in { flex-direction: column; align-items: center; text-align: center; }
	.split { grid-template-columns: 1fr; gap: 1.6rem; padding-block: 2.4rem; }
	.split .split__img { order: -1; max-height: 300px; }
	.features, .features--3 { grid-template-columns: 1fr; }
	.gen, .gen--rev { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1rem; }
	.gen--rev img { order: 0; }
	.gen img { width: 170px; height: 170px; }
	.wsd { grid-template-columns: 1fr; }
	.wsd--rev img { order: 0; }
	.wsd img { min-height: 0; height: 220px; }
	.wsd__body { padding: 1.4rem; }
	.pstep { grid-template-columns: 1fr; gap: 1rem; }
	.pstep img { width: 100%; height: 200px; }
	.pstep--text { padding: 3.6rem 1.2rem 1.2rem; }
	.timeline::before { left: 7px; }
	.timeline li { grid-template-columns: 1fr; gap: .2rem; padding-left: 2rem; }
	.timeline li::before { left: 1px; }
	.timeline strong { text-align: left; }
	.cta__in { flex-direction: column; text-align: center; }
	.contact-card { padding: 1.4rem; }
	.inquiry { padding-block: 2.4rem; }
	.form { padding: 1.4rem 1.2rem 1.6rem; }
	.choices { grid-template-columns: 1fr 1fr; }
	.form__grid { grid-template-columns: 1fr; }
	.form__submit { width: 100%; }
}
@media (max-width: 480px) {
	.owner { padding: 1.4rem; }
	.owner__list { grid-template-columns: 1fr; gap: .1rem; }
	.owner__list dd { margin-bottom: .5rem; }
	.brand { font-size: 1.1rem; gap: .5rem; }
	.brand__logo { height: 52px; }
	.card { grid-template-columns: 1fr; }
	.card img { height: 180px; min-height: 0; order: -1; }
	.ws-grid { grid-template-columns: 1fr; }
}
