/*
Theme Name: Fishery
Description: Minimal Scandinavian block theme for Fishery — Chilean salmon, trout and hake, and Argentine shrimp for importers in Europe and Asia. Includes an interactive 3D salmon.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fishery
*/

/* ---------- Base ---------- */
body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks > * + *, .fy-main > * + *, .fy-main > .wp-block-group + .wp-block-group { margin-block-start: 0; }
.fy-main { margin: 0; }

.fy-eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin: 0; }
.fy-eyebrow.fy-accent { color: var(--wp--preset--color--salmon); }
.fy-h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 300; margin: 0; }
.fy-h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 300; margin: 0; }
.fy-h2.fy-xl { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; }
.fy-lead { font-size: 18px; line-height: 1.65; color: var(--wp--preset--color--muted); max-width: 500px; }
.fy-body { font-size: 17px; line-height: 1.65; color: #4A5560; max-width: 460px; }

/* ---------- Buttons ---------- */
.wp-block-button .wp-block-button__link { border-radius: 999px; padding: 16px 30px; font-weight: 500; min-height: 44px; box-sizing: border-box; }
.fy-btn-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--ink); border: 1px solid var(--wp--preset--color--ink); }
.fy-btn-outline .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--stone); }
.fy-btn-light .wp-block-button__link { background: var(--wp--preset--color--stone); color: var(--wp--preset--color--ink); }

/* ---------- Header ---------- */
.fy-header-inner { padding-block: 28px; gap: 16px; }
.fy-logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--wp--preset--font-family--grotesk); font-weight: 700; font-size: 20px; letter-spacing: 0.04em; color: var(--wp--preset--color--ink); text-decoration: none; }
.fy-logo svg { width: 40px; height: 40px; flex: none; }
.fy-nav { font-size: 15px; gap: 36px; }
.fy-nav a { text-decoration: none; }
.fy-nav .wp-block-navigation-item:last-child a { border: 1px solid var(--wp--preset--color--ink); border-radius: 999px; padding: 11px 22px; }

/* ---------- Hero ---------- */
.fy-hero { padding-block: 56px 120px; align-items: center !important; gap: 32px; }
.fy-hero .fy-hero-text > * + * { margin-block-start: 32px; }
.fy-salmon-wrap { height: 520px; display: flex; flex-direction: column; }
.fy-salmon { flex: 1 1 auto; min-height: 0; width: 100%; display: block; cursor: grab; touch-action: pan-y; }
.fy-salmon:active { cursor: grabbing; }
.fy-hint { text-align: center; font-size: 13px; color: var(--wp--preset--color--muted); margin: 0; }

/* ---------- Sections ---------- */
.fy-section { padding-block: 120px; }
.fy-sand { background: var(--wp--preset--color--sand); }
.fy-white { background: #FFFFFF; }
.fy-dark { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--stone); }
.fy-split { align-items: center !important; gap: 64px; }
.fy-split img { width: 100%; max-width: 424px; height: auto; display: block; margin: 0 auto; }
.fy-split .wp-block-image { margin: 0; }
.fy-stack > * + * { margin-block-start: 28px; }

/* Spec rows */
.fy-specs { border-top: 1px solid #C9C7C1; max-width: 460px; }
.fy-spec { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid #C9C7C1; font-size: 15px; margin: 0 !important; }
.fy-spec p { margin: 0; }
.fy-spec p:first-child { color: var(--wp--preset--color--muted); }

/* Product list */
.fy-list { border-top: 1px solid #C9C7C1; margin-block-start: 40px !important; }
.fy-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.6fr) minmax(0, 1.6fr); align-items: baseline; gap: 16px 48px; padding: 36px 0; border-bottom: 1px solid #C9C7C1; margin: 0 !important; }
.fy-row > * { margin: 0 !important; }
.fy-row h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; font-weight: 300; }
.fy-row p:last-child { font-size: 16px; line-height: 1.6; color: #4A5560; }

/* Steps */
.fy-steps { border-top: 1px solid #D6D4CF; margin-block-start: 40px !important; }
.fy-step { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid #D6D4CF; margin: 0 !important; }
.fy-step > * { margin: 0 !important; }
.fy-step .fy-num { font-size: 14px; color: var(--wp--preset--color--salmon); }
.fy-step h3 { font-size: 20px; font-weight: 500; margin: 0 0 6px; }
.fy-step p:last-child { font-size: 16px; line-height: 1.6; color: #4A5560; margin: 0; }

/* Markets */
.fy-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.fy-grid2 > * { margin: 0 !important; }
.fy-card { padding: 28px 0; border-top: 1px solid #C9C7C1; }
.fy-card > * { margin: 0 0 8px; }
.fy-card h3 { font-size: 28px; font-weight: 300; }
.fy-card p:last-child { font-size: 15px; color: #4A5560; }

/* Contact */
.fy-dark .fy-eyebrow { color: #AEB8C4; }
.fy-dark a { color: var(--wp--preset--color--stone); }
.fy-contact-row { display: flex; flex-wrap: wrap; gap: 56px; font-size: 18px; margin-block: 48px !important; }
.fy-contact-row > * { margin: 0 !important; }
.fy-contact-row p { margin: 0 0 8px; }

/* Footer */
.fy-footer-inner { padding-block: 32px; gap: 16px; font-size: 14px; color: var(--wp--preset--color--muted); }
.fy-footer-inner p { margin: 0; }
.fy-footer-inner .fy-logo { font-size: 15px; }
.fy-footer-inner .fy-logo svg { width: 28px; height: 28px; }

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	.fy-hero { padding-block: 24px 72px; }
	.fy-salmon-wrap { height: 340px; }
	.fy-section { padding-block: 80px; }
	.fy-row { grid-template-columns: 1fr; }
	.fy-grid2 { grid-template-columns: 1fr; }
	.fy-split { gap: 40px; }
}
