/*
Theme Name: Ferrari Atelier
Theme URI: https://www.ferrariatelier.com
Author: Luca Ferrari Culinary Atelier
Description: A quiet, typographic block theme for a chef-led culinary atelier. Ink on warm paper, Cormorant Garamond and Jost. Colours, fonts and layouts are all editable in Appearance > Editor.
Version: 1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ferrari-atelier
Tags: full-site-editing, block-patterns, one-column, restaurant, minimal
*/

/* Most styling lives in theme.json so it stays editable in the Site Editor.
   Only the few things blocks cannot express are written here. */

/* Wide-tracked uppercase label used above headings */
.fa-eyebrow {
  font-size: var(--wp--preset--font-size--tiny);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--wp--preset--color--muted);
}

/* Small-caps link with a hairline under it */
.fa-link a,
a.fa-link {
  font-size: var(--wp--preset--font-size--tiny);
  letter-spacing: .26em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--wp--preset--color--rule);
  transition: border-color .3s ease;
}
.fa-link a:hover, a.fa-link:hover { border-bottom-color: var(--wp--preset--color--ink); }

/* The services line from the printed identity */
.fa-index {
  font-size: .625rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  line-height: 2.4;
  color: var(--wp--preset--color--soft);
}

/* Credentials strip — hairline dividers between cells */
.fa-creds { border-block: 1px solid #3A3833; }
.fa-creds > .wp-block-column { border-right: 1px solid #3A3833; }
.fa-creds > .wp-block-column:last-child { border-right: 0; }
@media (max-width: 781px) {
  .fa-creds > .wp-block-column { border-right: 0; border-bottom: 1px solid #3A3833; }
  .fa-creds > .wp-block-column:last-child { border-bottom: 0; }
}

/* Menu-style index rows on the services page */
.fa-row { border-bottom: 1px solid var(--wp--preset--color--rule); }
.fa-row:first-of-type { border-top: 1px solid var(--wp--preset--color--rule); }

/* Fact tables on the about page */
.fa-facts { list-style: none; margin: 0; padding: 0; }
.fa-facts li {
  display: flex; justify-content: space-between; gap: 2rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--wp--preset--color--rule);
  font-size: var(--wp--preset--font-size--small);
}
.fa-facts b {
  font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  font-size: var(--wp--preset--font-size--tiny);
  color: var(--wp--preset--color--muted);
}
.fa-facts span { text-align: right; }

/* Navigation: underline the current page */
.wp-block-navigation .current-menu-item > a { border-bottom: 1px solid currentColor; }

/* Respect reduced motion for anything a plugin adds later */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
